Uses of Interface
org.json.simple.JsonKey
| Package | Description |
|---|---|
| org.json.simple |
This is json-simple release 2.3.0 2017-10-04
retrieved from github.
|
-
Uses of JsonKey in org.json.simple
Methods in org.json.simple that return JsonKey Modifier and Type Method Description static JsonKeyJsoner. mintJsonKey(String key, Object value)Creates a new JsonKey that wraps the given string and value.Methods in org.json.simple with parameters of type JsonKey Modifier and Type Method Description BigDecimalJsonObject. getBigDecimal(JsonKey key)A convenience method that assumes there is a BigDecimal, Number, or String at the given key.BigDecimalJsonObject. getBigDecimalOrDefault(JsonKey key)A convenience method that assumes there is a BigDecimal, Number, or String at the given key.BooleanJsonObject. getBoolean(JsonKey key)A convenience method that assumes there is a Boolean or String value at the given key.BooleanJsonObject. getBooleanOrDefault(JsonKey key)A convenience method that assumes there is a Boolean or String value at the given key.ByteJsonObject. getByte(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.ByteJsonObject. getByteOrDefault(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.<T extends Collection<?>>
TJsonObject. getCollection(JsonKey key)A convenience method that assumes there is a Collection at the given key.<T extends Collection<?>>
TJsonObject. getCollectionOrDefault(JsonKey key)A convenience method that assumes there is a Collection at the given key.DoubleJsonObject. getDouble(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.DoubleJsonObject. getDoubleOrDefault(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.<T extends Enum<T>>
TJsonObject. getEnum(JsonKey key)Deprecated.2.3.0 Jsoner deprecated automatically serializing enums as Strings.<T extends Enum<T>>
TJsonObject. getEnumOrDefault(JsonKey key)Deprecated.2.3.0 Jsoner deprecated automatically serializing enums as Strings.FloatJsonObject. getFloat(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.FloatJsonObject. getFloatOrDefault(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.IntegerJsonObject. getInteger(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.IntegerJsonObject. getIntegerOrDefault(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.LongJsonObject. getLong(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.LongJsonObject. getLongOrDefault(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.<T extends Map<?, ?>>
TJsonObject. getMap(JsonKey key)A convenience method that assumes there is a Map at the given key.<T extends Map<?, ?>>
TJsonObject. getMapOrDefault(JsonKey key)A convenience method that assumes there is a Map at the given key.ShortJsonObject. getShort(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.ShortJsonObject. getShortOrDefault(JsonKey key)A convenience method that assumes there is a Number or String value at the given key.StringJsonObject. getString(JsonKey key)A convenience method that assumes there is a Boolean, Number, or String value at the given key.StringJsonObject. getStringOrDefault(JsonKey key)A convenience method that assumes there is a Boolean, Number, or String value at the given key.voidJsonObject. requireKeys(JsonKey... keys)Ensures the given keys are present.