Uses of Class
jodd.json.JsonObject
Packages that use JsonObject
Package
Description
Light, but powerful JSON parser and serializers.
Various JSON serializer implementations.
-
Uses of JsonObject in jodd.json
Methods in jodd.json that return JsonObjectModifier and TypeMethodDescriptionJsonObject.clear()Removes all the entries in this JSON object.JsonArray.getJsonObject(int pos) Returns the JsonObject at positionposin the array.JsonObject.getJsonObject(String key) Returns theJsonObjectvalue with the specified key.JsonObject.getJsonObject(String key, JsonObject def) LikegetJsonObject(String)but specifies a default value to return if there is no entry.JsonObject.mergeIn(JsonObject other) Merges in another JSON object.JsonObject.mergeIn(JsonObject other, int depth) Merges in another JSON object.JsonObject.mergeInDeep(JsonObject other) Merges in another JSON object.JsonParser.parseAsJsonObject(String input) Parses input JSON toJsonObject, special case ofJsonParser.parse(String, Class).Puts abyte[]into the JSON object with the specified key.Puts a boolean into the JSON object with the specified key.JsonObject.put(String key, CharSequence value) Puts anCharSequenceinto the JSON object with the specified key.Puts a double into the JSON object with the specified key.Puts an Enum into the JSON object with the specified key.Puts a float into the JSON object with the specified key.Puts an integer into the JSON object with the specified key.Puts a long into the JSON object with the specified key.Puts an object into the JSON object with the specified key.Puts a string into the JSON object with the specified key.Puts aJsonArrayinto the JSON object with the specified key.JsonObject.put(String key, JsonObject value) Puts another JSON object into the JSON object with the specified key.Puts anullvalue into the JSON object with the specified key.Methods in jodd.json with parameters of type JsonObjectModifier and TypeMethodDescriptionJsonArray.add(JsonObject value) Adds a JSON object to the JSON array.JsonObject.getJsonObject(String key, JsonObject def) LikegetJsonObject(String)but specifies a default value to return if there is no entry.JsonObject.mergeIn(JsonObject other) Merges in another JSON object.JsonObject.mergeIn(JsonObject other, int depth) Merges in another JSON object.JsonObject.mergeInDeep(JsonObject other) Merges in another JSON object.JsonObject.put(String key, JsonObject value) Puts another JSON object into the JSON object with the specified key. -
Uses of JsonObject in jodd.json.impl
Methods in jodd.json.impl with parameters of type JsonObjectModifier and TypeMethodDescriptionvoidJsonObjectSerializer.serializeValue(JsonContext jsonContext, JsonObject jsonObject)