Try JsonParser; for instance: JsonParser parser = new JsonParser();. JsonObject o = parser.parse("{\"a\": \"A\"}").getAsJsonObject(); ...
確定! 回上一頁