LunaChat v2.8.10 : Fixed some issues
このコミットが含まれているのは:
1 親
48f8841a67
コミット
16eb0ad1dd
10ファイル変更
+444
-90
検索条件に一致するファイルはありません
@@ -0,0 +1,18 @@
|
||||
package com.github.ucchyocean.lc.japanize;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonArray;
|
||||
|
||||
public class GoogleIME {
|
||||
|
||||
protected GoogleIME() {
|
||||
}
|
||||
|
||||
public static String parseJson(String json) {
|
||||
StringBuilder result = new StringBuilder();
|
||||
new Gson().fromJson(json, JsonArray.class).forEach(response -> {
|
||||
result.append(response.getAsJsonArray().get(1).getAsJsonArray().get(0).getAsString());
|
||||
});
|
||||
return result.toString();
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする