Uses of Class
jodd.json.JsonArray
Packages that use JsonArray
Package
Description
Light, but powerful JSON parser and serializers.
Various JSON serializer implementations.
-
Uses of JsonArray in jodd.json
Modifier and TypeMethodDescriptionJsonArray.add(byte[] value) Adds a binary value to the JSON array.Adds a boolean to the JSON array.JsonArray.add(CharSequence value) Adds aCharSequenceto the JSON array.Adds a double to the JSON array.Adds an enum to the JSON array.Adds a float to the JSON array.Adds an integer to the JSON array.Adds a long to the JSON array.Adds an object to the JSON array.Adds a string to the JSON array.Adds another JSON array to the JSON array.JsonArray.add(JsonObject value) Adds a JSON object to the JSON array.Appends all of the elements in the specified array to the end of this JSON array.JsonArray.addNull()Adds anullvalue to the JSON array.JsonArray.clear()Removes all entries from the JSON array.JsonArray.getJsonArray(int pos) Returns the JsonArray at positionposin the array.JsonObject.getJsonArray(String key) Returns theJsonArrayvalue with the specified keyJsonObject.getJsonArray(String key, JsonArray def) LikeJsonObject.getJsonArray(String)but specifies a default value to return if there is no entry.JsonParser.parseAsJsonArray(String input) Parses input JSON toJsonArray, special case of parsing.Modifier and TypeMethodDescriptionAdds another JSON array to the JSON array.Appends all of the elements in the specified array to the end of this JSON array.JsonObject.getJsonArray(String key, JsonArray def) LikeJsonObject.getJsonArray(String)but specifies a default value to return if there is no entry.Puts aJsonArrayinto the JSON object with the specified key. -
Uses of JsonArray in jodd.json.impl
Methods in jodd.json.impl with parameters of type JsonArrayModifier and TypeMethodDescriptionbooleanJsonArraySerializer.serialize(JsonContext jsonContext, JsonArray jsonArray)