Class KingdomsGson
java.lang.Object
org.kingdoms.data.database.flatfile.json.KingdomsGson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.gson.JsonElementfromString(String json) static com.google.gson.JsonObjectstatic voidtoJson(com.google.gson.JsonObject object, Appendable writer) static Stringstatic StringtoString(com.google.gson.JsonElement element)
-
Field Details
-
GSON
public static final com.google.gson.Gson GSON
-
-
Constructor Details
-
KingdomsGson
public KingdomsGson()
-
-
Method Details
-
fromString
-
toString
-
toJson
-
toJson
- Throws:
IOException
-
parse
public static com.google.gson.JsonObject parse(Reader json) throws com.google.gson.JsonIOException, com.google.gson.JsonSyntaxException - Throws:
com.google.gson.JsonIOExceptioncom.google.gson.JsonSyntaxException
-