mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
use custom GSON in JsonUtils.parseJson
This commit is contained in:
@@ -31,7 +31,7 @@ public final class JsonUtils {
|
||||
}
|
||||
|
||||
public static JsonObject parseJson(String json) {
|
||||
return JsonParser.parseString(json).getAsJsonObject();
|
||||
return GSON.fromJson(json, JsonObject.class);
|
||||
}
|
||||
|
||||
public static JsonObject skinPropertyToJson(Property property) {
|
||||
|
||||
Reference in New Issue
Block a user