Package net.wattpadpremium.filejumper
Class JsonFileModification
java.lang.Object
net.wattpadpremium.filejumper.JsonFileModification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBooleanValue(String key, boolean defaultValue) bytegetByteValue(String key, byte defaultValue) chargetCharValue(String key, char defaultValue) doublegetDoubleValue(String key, double defaultValue) floatgetFloatValue(String key, float defaultValue) intgetIntValue(String key, int defaultValue) com.google.gson.JsonArraygetJsonArrayValue(String key, com.google.gson.JsonArray defaultValue) getJsonObject(String key, com.google.gson.JsonObject defaultValue) longgetLongValue(String key, long defaultValue) shortgetShortValue(String key, short defaultValue) getStringValue(String key, String defaultValue) voidsetBooleanValue(String key, boolean value) voidsetByteValue(String key, byte value) voidsetCharValue(String key, char value) voidsetDoubleValue(String key, double value) voidsetFloatValue(String key, float value) voidsetIntValue(String key, int value) voidsetJsonArrayValue(String key, com.google.gson.JsonArray value) voidsetJsonObject(String key, com.google.gson.JsonObject value) voidsetLongValue(String key, long value) voidsetShortValue(String key, short value) voidsetStringValue(String key, String value)
-
Constructor Details
-
JsonFileModification
public JsonFileModification(com.google.gson.JsonObject jsonObject)
-
-
Method Details
-
setJsonObject
-
getJsonObject
-
setBooleanValue
-
getBooleanValue
-
setStringValue
-
getStringValue
-
setIntValue
-
getIntValue
-
setDoubleValue
-
getDoubleValue
-
setFloatValue
-
getFloatValue
-
setLongValue
-
getLongValue
-
setByteValue
-
getByteValue
-
setShortValue
-
getShortValue
-
setCharValue
-
getCharValue
-
setJsonArrayValue
-
getJsonArrayValue
public com.google.gson.JsonArray getJsonArrayValue(String key, com.google.gson.JsonArray defaultValue)
-