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#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.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.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.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(Map<String, Object> map) Creates a JSON object builder, initialized with the data from specifiedmap.static JsonObjectBuilderJson.createObjectBuilder(JsonObject object) Creates a JSON object builder, initialized with the specified object.JsonBuilderFactory.createObjectBuilder()Creates aJsonObjectBuilderinstance that is used to buildJsonObject.default JsonObjectBuilderJsonBuilderFactory.createObjectBuilder(Map<String, Object> object) Creates aJsonObjectBuilderinstance, initialized with the specified object.default JsonObjectBuilderJsonBuilderFactory.createObjectBuilder(JsonObject object) Creates aJsonObjectBuilderinstance, initialized with an object.default JsonObjectBuilderRemove 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 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 javax.json.spi
Methods in javax.json.spi that return JsonObjectBuilderModifier and TypeMethodDescriptionabstract JsonObjectBuilderJsonProvider.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 TypeMethodDescriptionstatic Collector<Map.Entry<String, JsonValue>, JsonObjectBuilder, JsonObject> JsonCollectors.toJsonObject()Constructs ajava.util.stream.Collectorthat accumulates the inputMap.Entry<String,JsonValue>elements into aJsonObject.static Collector<JsonValue, JsonObjectBuilder, JsonObject> JsonCollectors.toJsonObject(Function<JsonValue, String> keyMapper, Function<JsonValue, JsonValue> valueMapper) Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonObject. -
Uses of JsonObjectBuilder in org.glassfish.json
Classes in org.glassfish.json that implement JsonObjectBuilderModifier and TypeClassDescription(package private) classJsonObjectBuilder 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 JsonObjectJsonParserImpl.getObject(JsonObjectBuilder builder) JsonArrayBuilderImpl.set(int index, JsonObjectBuilder builder)