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 JsonKey
Jsoner. 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 BigDecimal
JsonObject. getBigDecimal(JsonKey key)
A convenience method that assumes there is a BigDecimal, Number, or String at the given key.BigDecimal
JsonObject. getBigDecimalOrDefault(JsonKey key)
A convenience method that assumes there is a BigDecimal, Number, or String at the given key.Boolean
JsonObject. getBoolean(JsonKey key)
A convenience method that assumes there is a Boolean or String value at the given key.Boolean
JsonObject. getBooleanOrDefault(JsonKey key)
A convenience method that assumes there is a Boolean or String value at the given key.Byte
JsonObject. getByte(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Byte
JsonObject. 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.Double
JsonObject. getDouble(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Double
JsonObject. 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.Float
JsonObject. getFloat(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Float
JsonObject. getFloatOrDefault(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Integer
JsonObject. getInteger(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Integer
JsonObject. getIntegerOrDefault(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Long
JsonObject. getLong(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Long
JsonObject. 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.Short
JsonObject. getShort(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.Short
JsonObject. getShortOrDefault(JsonKey key)
A convenience method that assumes there is a Number or String value at the given key.String
JsonObject. getString(JsonKey key)
A convenience method that assumes there is a Boolean, Number, or String value at the given key.String
JsonObject. getStringOrDefault(JsonKey key)
A convenience method that assumes there is a Boolean, Number, or String value at the given key.void
JsonObject. requireKeys(JsonKey... keys)
Ensures the given keys are present.