1
0
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:
2024-08-28 17:10:49 +03:00
parent d286270bdc
commit 304c3b371d

View File

@@ -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) {