Uses of Interface
javax.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 javax.json
Methods in javax.json that return JsonObjectBuilderModifier and TypeMethodDescriptionAdds a name/JsonValue#TRUE
or name/JsonValue#FALSE
pair to the JSON object associated with this object builder.Adds a name/JsonNumber
pair to the JSON object associated with this object builder.Adds a name/JsonNumber
pair to the JSON object associated with this object builder.Adds a name/JsonNumber
pair to the JSON object associated with this object builder.Adds a name/JsonString
pair to the JSON object associated with this object builder.JsonObjectBuilder.add
(String name, BigDecimal value) Adds a name/JsonNumber
pair to the JSON object associated with this object builder.JsonObjectBuilder.add
(String name, BigInteger value) Adds a name/JsonNumber
pair to the JSON object associated with this object builder.JsonObjectBuilder.add
(String name, JsonArrayBuilder builder) Adds a name/JsonArray
pair to the JSON object associated with this object builder.JsonObjectBuilder.add
(String name, JsonObjectBuilder builder) Adds a name/JsonObject
pair to the JSON object associated with this object builder.Adds a name/JsonValue
pair to the JSON object associated with this object builder.default JsonObjectBuilder
JsonObjectBuilder.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#NULL
pair to the JSON object associated with this object builder where the value isnull
.static JsonObjectBuilder
Json.createObjectBuilder()
Creates a JSON object builderstatic JsonObjectBuilder
Json.createObjectBuilder
(Map<String, Object> map) Creates a JSON object builder, initialized with the data from specifiedmap
.static JsonObjectBuilder
Json.createObjectBuilder
(JsonObject object) Creates a JSON object builder, initialized with the specified object.JsonBuilderFactory.createObjectBuilder()
Creates aJsonObjectBuilder
instance that is used to buildJsonObject
.default JsonObjectBuilder
JsonBuilderFactory.createObjectBuilder
(Map<String, Object> object) Creates aJsonObjectBuilder
instance, initialized with the specified object.default JsonObjectBuilder
JsonBuilderFactory.createObjectBuilder
(JsonObject object) Creates aJsonObjectBuilder
instance, initialized with an object.default JsonObjectBuilder
Remove the name/value pair from the JSON object associated with this object builder if it is present.Methods in javax.json with parameters of type JsonObjectBuilderModifier and TypeMethodDescriptiondefault JsonArrayBuilder
JsonArrayBuilder.add
(int index, JsonObjectBuilder builder) Adds aJsonObject
from an object builder to the array at the specified position.JsonArrayBuilder.add
(JsonObjectBuilder builder) Adds aJsonObject
from an object builder to the array.JsonObjectBuilder.add
(String name, JsonObjectBuilder builder) Adds a name/JsonObject
pair to the JSON object associated with this object builder.default JsonObjectBuilder
JsonObjectBuilder.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 JsonArrayBuilder
JsonArrayBuilder.set
(int index, JsonObjectBuilder builder) Replaces a value in the array with the specified value as aJsonObject
from an object builder at the specified position. -
Uses of JsonObjectBuilder in javax.json.spi
Methods in javax.json.spi that return JsonObjectBuilderModifier and TypeMethodDescriptionabstract JsonObjectBuilder
JsonProvider.createObjectBuilder()
Creates a JSON object builder.JsonProvider.createObjectBuilder
(Map<String, Object> map) Creates a JSON object builder, initialized with the data from specifiedmap
.JsonProvider.createObjectBuilder
(JsonObject object) Creates a JSON object builder, initialized with the specified object. -
Uses of JsonObjectBuilder in javax.json.stream
Methods in javax.json.stream that return types with arguments of type JsonObjectBuilderModifier and TypeMethodDescriptionJsonCollectors.toJsonObject()
Constructs ajava.util.stream.Collector
that accumulates the inputMap.Entry<String,JsonValue>
elements into aJsonObject
.JsonCollectors.toJsonObject
(Function<JsonValue, String> keyMapper, Function<JsonValue, JsonValue> valueMapper) Constructs ajava.util.stream.Collector
that accumulates the inputJsonValue
elements into aJsonObject
. -
Uses of JsonObjectBuilder in org.glassfish.json
Classes in org.glassfish.json that implement JsonObjectBuilderModifier and TypeClassDescription(package private) class
JsonObjectBuilder implementationMethods in org.glassfish.json that return JsonObjectBuilderModifier and TypeMethodDescriptionJsonObjectBuilderImpl.add
(String name, BigDecimal value) JsonObjectBuilderImpl.add
(String name, BigInteger value) JsonObjectBuilderImpl.add
(String name, JsonArrayBuilder builder) JsonObjectBuilderImpl.add
(String name, JsonObjectBuilder builder) JsonObjectBuilderImpl.addAll
(JsonObjectBuilder builder) JsonBuilderFactoryImpl.createObjectBuilder()
JsonBuilderFactoryImpl.createObjectBuilder
(Map<String, Object> object) JsonBuilderFactoryImpl.createObjectBuilder
(JsonObject object) JsonProviderImpl.createObjectBuilder()
JsonProviderImpl.createObjectBuilder
(Map<String, Object> map) JsonProviderImpl.createObjectBuilder
(JsonObject object) Methods in org.glassfish.json with parameters of type JsonObjectBuilderModifier and TypeMethodDescriptionJsonArrayBuilderImpl.add
(int index, JsonObjectBuilder builder) JsonArrayBuilderImpl.add
(JsonObjectBuilder builder) JsonObjectBuilderImpl.add
(String name, JsonObjectBuilder builder) JsonObjectBuilderImpl.addAll
(JsonObjectBuilder builder) private JsonObject
JsonParserImpl.getObject
(JsonObjectBuilder builder) JsonArrayBuilderImpl.set
(int index, JsonObjectBuilder builder)