Package me.romvnly.TownyPlus.api
Class Gson
java.lang.Object
me.romvnly.TownyPlus.api.Gson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonObjectcom.google.gson.JsonObjectcom.google.gson.JsonObjectstatic booleanisJSONValid(String json) static com.google.gson.JsonObjectisJSONValid(String json, Boolean getObject) static void
-
Constructor Details
-
Gson
public Gson()
-
-
Method Details
-
main
-
isJSONValid
-
isJSONValid
-
http
- Throws:
IOException
-
http
public com.google.gson.JsonObject http(String urlString, String body, Boolean useCredentials) throws IOException - Throws:
IOException
-
http
public com.google.gson.JsonObject http(String urlString, String body, String method, Boolean useCredentials) throws IOException - Throws:
IOException
-