mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-28 07:17:42 +01:00
remove saves (temporarily?) since they don't really work
This commit is contained in:
@@ -2,6 +2,7 @@ package com.gpl.rpg.atcontentstudio.utils;
|
||||
|
||||
import com.gpl.rpg.atcontentstudio.Notification;
|
||||
import com.gpl.rpg.atcontentstudio.io.JsonPrettyWriter;
|
||||
import com.gpl.rpg.atcontentstudio.io.JsonSerializable;
|
||||
import org.json.simple.JSONArray;
|
||||
import org.json.simple.JSONObject;
|
||||
|
||||
@@ -17,6 +18,9 @@ import java.util.zip.ZipOutputStream;
|
||||
|
||||
public class FileUtils {
|
||||
|
||||
public static String toJsonString(JsonSerializable jsonSerializable) {
|
||||
return toJsonString(jsonSerializable.toMap());
|
||||
}
|
||||
public static String toJsonString(Map json) {
|
||||
StringWriter writer = new JsonPrettyWriter();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user