Class KingdomsGson

java.lang.Object
org.kingdoms.data.database.flatfile.json.KingdomsGson

public final class KingdomsGson extends Object
  • Field Details

    • GSON

      public static final com.google.gson.Gson GSON
  • Constructor Details

    • KingdomsGson

      public KingdomsGson()
  • Method Details

    • fromString

      public static com.google.gson.JsonElement fromString(String json)
    • toString

      public static String toString(com.google.gson.JsonElement element)
    • toJson

      public static String toJson(Object src)
    • toJson

      public static void toJson(com.google.gson.JsonObject object, Appendable writer) throws IOException
      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.JsonIOException
      com.google.gson.JsonSyntaxException