public class GsonObjectWrapper extends Object implements IJsonObjectWrapper
| Constructor and Description |
|---|
GsonObjectWrapper() |
GsonObjectWrapper(com.google.gson.JsonObject jsonObject) |
GsonObjectWrapper(Map<?,?> map) |
public GsonObjectWrapper()
public GsonObjectWrapper(Map<?,?> map)
public GsonObjectWrapper(com.google.gson.JsonObject jsonObject)
public IJsonNodeWrapper get(String key)
get in interface IJsonObjectWrapperpublic boolean getBoolean(String key)
getBoolean in interface IJsonObjectWrapperpublic Boolean getAsBoolean(String key)
getAsBoolean in interface IJsonObjectWrapperpublic BigInteger getBigInteger(String key)
getBigInteger in interface IJsonObjectWrapperpublic BigDecimal getBigDecimal(String key)
getBigDecimal in interface IJsonObjectWrapperpublic double getDouble(String key)
getDouble in interface IJsonObjectWrapperpublic Double getAsDouble(String key)
getAsDouble in interface IJsonObjectWrapperpublic float getFloat(String key)
getFloat in interface IJsonObjectWrapperpublic Float getAsFloat(String key)
getAsFloat in interface IJsonObjectWrapperpublic int getInt(String key)
getInt in interface IJsonObjectWrapperpublic Integer getAsInteger(String key)
getAsInteger in interface IJsonObjectWrapperpublic IJsonArrayWrapper getJsonArray(String key)
getJsonArray in interface IJsonObjectWrapperpublic IJsonObjectWrapper getJsonObject(String key)
getJsonObject in interface IJsonObjectWrapperpublic long getLong(String key)
getLong in interface IJsonObjectWrapperpublic Long getAsLong(String key)
getAsLong in interface IJsonObjectWrapperpublic String getString(String key)
getString in interface IJsonObjectWrapperpublic boolean has(String key)
has in interface IJsonObjectWrapperpublic Set<String> keySet()
keySet in interface IJsonObjectWrapperpublic int size()
size in interface IJsonObjectWrapperpublic boolean isEmpty()
isEmpty in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, boolean value)
put in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, Collection<?> value)
put in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, double value)
put in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, float value)
put in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, int value)
put in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, long value)
put in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, Map<?,?> value)
put in interface IJsonObjectWrapperpublic IJsonObjectWrapper put(String key, Object value)
put in interface IJsonObjectWrapperpublic Object remove(String key)
remove in interface IJsonObjectWrapperpublic String toString(boolean format, boolean keepNullValue)
toString in interface IJsonObjectWrapperpublic String toString(boolean format, boolean keepNullValue, boolean snakeCase)
toString in interface IJsonObjectWrapperpublic Map<String,Object> toMap()
toMap in interface IJsonObjectWrapperCopyright © 2022. All rights reserved.