Uses of Interface
jakarta.json.JsonObjectBuilder
Packages that use JsonObjectBuilder
Package
Description
Provides an object model API to process JSON.
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
Provides a streaming API to parse and generate
JSON.
-
Uses of JsonObjectBuilder in jakarta.json
Methods in jakarta.json that return JsonObjectBuilderModifier and TypeMethodDescriptionAdds a name/JsonValue#TRUEor name/JsonValue#FALSEpair to the JSON object associated with this object builder.Adds a name/JsonNumberpair to the JSON object associated with this object builder.Adds a name/JsonNumberpair to the JSON object associated with this object builder.Adds a name/JsonNumberpair to the JSON object associated with this object builder.JsonObjectBuilder.add(String name, JsonArrayBuilder builder) Adds a name/JsonArraypair to the JSON object associated with this object builder.JsonObjectBuilder.add(String name, JsonObjectBuilder builder) Adds a name/JsonObjectpair to the JSON object associated with this object builder.Adds a name/JsonValuepair to the JSON object associated with this object builder.Adds a name/JsonStringpair to the JSON object associated with this object builder.JsonObjectBuilder.add(String name, BigDecimal value) Adds a name/JsonNumberpair to the JSON object associated with this object builder.JsonObjectBuilder.add(String name, BigInteger value) Adds a name/JsonNumberpair to the JSON object associated with this object builder.default JsonObjectBuilderJsonObjectBuilder.addAll(JsonObjectBuilder builder) Adds all name/value pairs in the JSON object associated with the specified object builder to the JSON object associated with this object builder.Adds a name/JsonValue#NULLpair to the JSON object associated with this object builder where the value isnull.static JsonObjectBuilderJson.createObjectBuilder()Creates a JSON object builderstatic JsonObjectBuilderJson.createObjectBuilder(JsonObject object) Creates a JSON object builder, initialized with the specified object.static JsonObjectBuilderJson.createObjectBuilder(Map<String, ?> map) Creates a JSON object builder, initialized with the data from specifiedmap.JsonBuilderFactory.createObjectBuilder()Creates aJsonObjectBuilderinstance that is used to buildJsonObject.default JsonObjectBuilderJsonBuilderFactory.createObjectBuilder(JsonObject object) Creates aJsonObjectBuilderinstance, initialized with an object.default JsonObjectBuilderJsonBuilderFactory.createObjectBuilder(Map<String, Object> object) Creates aJsonObjectBuilderinstance, initialized with the specified object.default JsonObjectBuilderRemove the name/value pair from the JSON object associated with this object builder if it is present.Methods in jakarta.json with parameters of type JsonObjectBuilderModifier and TypeMethodDescriptiondefault JsonArrayBuilderJsonArrayBuilder.add(int index, JsonObjectBuilder builder) Adds aJsonObjectfrom an object builder to the array at the specified position.JsonArrayBuilder.add(JsonObjectBuilder builder) Adds aJsonObjectfrom an object builder to the array.JsonObjectBuilder.add(String name, JsonObjectBuilder builder) Adds a name/JsonObjectpair to the JSON object associated with this object builder.default JsonObjectBuilderJsonObjectBuilder.addAll(JsonObjectBuilder builder) Adds all name/value pairs in the JSON object associated with the specified object builder to the JSON object associated with this object builder.default JsonArrayBuilderJsonArrayBuilder.set(int index, JsonObjectBuilder builder) Replaces a value in the array with the specified value as aJsonObjectfrom an object builder at the specified position. -
Uses of JsonObjectBuilder in jakarta.json.spi
Methods in jakarta.json.spi that return JsonObjectBuilderModifier and TypeMethodDescriptionabstract JsonObjectBuilderJsonProvider.createObjectBuilder()Creates a JSON object builder.JsonProvider.createObjectBuilder(JsonObject object) Creates a JSON object builder, initialized with the specified object.JsonProvider.createObjectBuilder(Map<String, ?> map) Creates a JSON object builder, initialized with the data from specifiedmap. -
Uses of JsonObjectBuilder in jakarta.json.stream
Methods in jakarta.json.stream that return types with arguments of type JsonObjectBuilderModifier and TypeMethodDescriptionJsonCollectors.toJsonObject()Constructs ajava.util.stream.Collectorthat accumulates the inputMap.Entry<String,JsonValue>elements into aJsonObject.JsonCollectors.toJsonObject(Function<JsonValue, String> keyMapper, Function<JsonValue, JsonValue> valueMapper) Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonObject.