# Uses of Interface
org.json.simple.JsonKey

Packages that use JsonKey
Package
Description
org.json.simple

## 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<?>>
T`
JsonObject.`getCollection(JsonKey key)`
A convenience method that assumes there is a Collection at the given key.
`<T extends Collection<?>>
T`
JsonObject.`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>>
T`
JsonObject.`getEnum(JsonKey key)`
Deprecated.
2.3.0 Jsoner deprecated automatically serializing enums as Strings.
`<T extends Enum<T>>
T`
JsonObject.`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<?, ?>>
T`
JsonObject.`getMap(JsonKey key)`
A convenience method that assumes there is a Map at the given key.
`<T extends Map<?, ?>>
T`
JsonObject.`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.