Modifier and Type | Class and Description |
---|---|
static class |
JSONMap.JSONMapEntry |
Modifier and Type | Field and Description |
---|---|
static com.google.gson.Gson |
JSON |
Constructor and Description |
---|
JSONMap(com.google.gson.JsonObject object) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
JSONMap |
getMap(Object key) |
<T> T |
getValue(Object key,
Class<T> classOfT) |
<T> T |
getValue(Object key,
Type typeOfT) |
boolean |
isEmpty() |
Set<String> |
keySet() |
static Object |
parse(String jsonStr) |
static JSONMap |
parseMap(String jsonStr) |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> m) |
Object |
remove(Object key) |
int |
size() |
static Object |
transform(com.google.gson.JsonElement element) |
static JSONMap |
transformMap(com.google.gson.JsonElement element) |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public static JSONMap transformMap(com.google.gson.JsonElement element)
public static Object transform(com.google.gson.JsonElement element)
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
Copyright © 2012-2018. All Rights Reserved.