public class CookJsonObject extends HashMap<String,JsonValue> implements JsonObject
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>JsonValue.ValueType| Constructor and Description |
|---|
CookJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(String name) |
boolean |
getBoolean(String name,
boolean defaultValue) |
int |
getInt(String name) |
int |
getInt(String name,
int defaultValue) |
JsonArray |
getJsonArray(String name) |
JsonNumber |
getJsonNumber(String name) |
JsonObject |
getJsonObject(String name) |
JsonString |
getJsonString(String name) |
String |
getString(String name) |
String |
getString(String name,
String defaultValue) |
JsonValue.ValueType |
getValueType() |
boolean |
isNull(String name) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic JsonValue.ValueType getValueType()
getValueType in interface JsonValuepublic JsonArray getJsonArray(String name)
getJsonArray in interface JsonObjectpublic JsonObject getJsonObject(String name)
getJsonObject in interface JsonObjectpublic JsonNumber getJsonNumber(String name)
getJsonNumber in interface JsonObjectpublic JsonString getJsonString(String name)
getJsonString in interface JsonObjectpublic String getString(String name)
getString in interface JsonObjectpublic String getString(String name, String defaultValue)
getString in interface JsonObjectpublic int getInt(String name)
getInt in interface JsonObjectpublic int getInt(String name, int defaultValue)
getInt in interface JsonObjectpublic boolean getBoolean(String name)
getBoolean in interface JsonObjectpublic boolean getBoolean(String name, boolean defaultValue)
getBoolean in interface JsonObjectpublic boolean isNull(String name)
isNull in interface JsonObjectCopyright © 2016. All rights reserved.