Small Json Util Fix
This commit is contained in:
parent
6540e47ff5
commit
447860ab2d
@ -85,11 +85,7 @@ public class JSONUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean saveJSONToFile(File f, Object toSave, Object token) throws IOException {
|
public static boolean saveJSONToFile(File f, Object toSave, Object token) throws IOException {
|
||||||
try {
|
return saveJSONToFile(f, toSave, token, gson);
|
||||||
return saveJSONToFile(f, toSave, token, gson);
|
|
||||||
} catch (Throwable var4) {
|
|
||||||
throw var4;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static Type getTypeFromObject(Object object) {
|
private static Type getTypeFromObject(Object object) {
|
||||||
|
Loading…
Reference in New Issue
Block a user