Uses of Interface
org.json.simple.JsonKey
Packages that use JsonKey
-
Uses of JsonKey in org.json.simple
Methods in org.json.simple that return JsonKeyModifier and TypeMethodDescriptionstatic 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 JsonKeyModifier and TypeMethodDescriptionJsonObject.getBigDecimal(JsonKey key) A convenience method that assumes there is a BigDecimal, Number, or String at the given key.JsonObject.getBigDecimalOrDefault(JsonKey key) A convenience method that assumes there is a BigDecimal, Number, or String at the given key.JsonObject.getBoolean(JsonKey key) A convenience method that assumes there is a Boolean or String value at the given key.JsonObject.getBooleanOrDefault(JsonKey key) A convenience method that assumes there is a Boolean or String value at the given key.A convenience method that assumes there is a Number or String value at the given key.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.A convenience method that assumes there is a Number or String value at the given key.JsonObject.getDoubleOrDefault(JsonKey key) A convenience method that assumes there is a Number or String value at the given key.<T extends Enum<T>>
TDeprecated.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.A convenience method that assumes there is a Number or String value at the given key.JsonObject.getFloatOrDefault(JsonKey key) A convenience method that assumes there is a Number or String value at the given key.JsonObject.getInteger(JsonKey key) A convenience method that assumes there is a Number or String value at the given key.JsonObject.getIntegerOrDefault(JsonKey key) A convenience method that assumes there is a Number or String value at the given key.A convenience method that assumes there is a Number or String value at the given key.JsonObject.getLongOrDefault(JsonKey key) A convenience method that assumes there is a Number or String value at the given key.<T extends Map<?,?>>
TA 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.A convenience method that assumes there is a Number or String value at the given key.JsonObject.getShortOrDefault(JsonKey key) A convenience method that assumes there is a Number or String value at the given key.A convenience method that assumes there is a Boolean, Number, or String value at the given key.JsonObject.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.