Uses of Interface
javax.json.JsonArrayBuilder
Packages that use JsonArrayBuilder
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 JsonArrayBuilder in javax.json
Methods in javax.json that return JsonArrayBuilderModifier and TypeMethodDescriptionJsonArrayBuilder.add(boolean value) Adds aJsonValue.TRUEorJsonValue.FALSEvalue to the array.JsonArrayBuilder.add(double value) Adds a value to the array as aJsonNumber.JsonArrayBuilder.add(int value) Adds a value to the array as aJsonNumber.default JsonArrayBuilderJsonArrayBuilder.add(int index, boolean value) Adds aJsonValue.TRUEorJsonValue.FALSEvalue to the array at the specified position.default JsonArrayBuilderJsonArrayBuilder.add(int index, double value) Adds a value to the array as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.add(int index, int value) Adds a value to the array as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.add(int index, long value) Adds a value to the array as aJsonNumberat the specified position.default JsonArrayBuilderAdds a value to the array as aJsonStringat the specified position.default JsonArrayBuilderJsonArrayBuilder.add(int index, BigDecimal value) Adds a value to the array as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.add(int index, BigInteger value) Adds a value to the array as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.add(int index, JsonArrayBuilder builder) Adds aJsonArrayfrom an array builder to the array at the specified position.default JsonArrayBuilderJsonArrayBuilder.add(int index, JsonObjectBuilder builder) Adds aJsonObjectfrom an object builder to the array at the specified position.default JsonArrayBuilderInserts a value to the array at the specified position.JsonArrayBuilder.add(long value) Adds a value to the array as aJsonNumber.Adds a value to the array as aJsonString.JsonArrayBuilder.add(BigDecimal value) Adds a value to the array as aJsonNumber.JsonArrayBuilder.add(BigInteger value) Adds a value to the array as aJsonNumber.JsonArrayBuilder.add(JsonArrayBuilder builder) Adds aJsonArrayfrom an array builder to the array.JsonArrayBuilder.add(JsonObjectBuilder builder) Adds aJsonObjectfrom an object builder to the array.Adds a value to the array.default JsonArrayBuilderJsonArrayBuilder.addAll(JsonArrayBuilder builder) Adds all elements of the array in the specified array builder to the array.JsonArrayBuilder.addNull()Adds aJsonValue.NULLvalue to the array.default JsonArrayBuilderJsonArrayBuilder.addNull(int index) Adds aJsonValue.NULLvalue to the array at the specified position.static JsonArrayBuilderJson.createArrayBuilder()Creates a JSON array builderstatic JsonArrayBuilderJson.createArrayBuilder(Collection<?> collection) Creates a JSON array builder, initialized with the content of specifiedcollection.static JsonArrayBuilderJson.createArrayBuilder(JsonArray array) Creates a JSON array builder, initialized with the specified arrayJsonBuilderFactory.createArrayBuilder()Creates aJsonArrayBuilderinstance that is used to buildJsonArraydefault JsonArrayBuilderJsonBuilderFactory.createArrayBuilder(Collection<?> collection) Creates aJsonArrayBuilderinstance, initialized with the content of specified collection.default JsonArrayBuilderJsonBuilderFactory.createArrayBuilder(JsonArray array) Creates aJsonArrayBuilderinstance, initialized with an array.default JsonArrayBuilderJsonArrayBuilder.remove(int index) Remove the value in the array at the specified position.default JsonArrayBuilderJsonArrayBuilder.set(int index, boolean value) Replaces a value in the array with aJsonValue.TRUEorJsonValue.FALSEvalue at the specified position.default JsonArrayBuilderJsonArrayBuilder.set(int index, double value) Replaces a value in the array with the specified value as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.set(int index, int value) Replaces a value in the array with the specified value as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.set(int index, long value) Replaces a value in the array with the specified value as aJsonNumberat the specified position.default JsonArrayBuilderReplaces a value in the array with the specified value as aJsonStringat the specified position.default JsonArrayBuilderJsonArrayBuilder.set(int index, BigDecimal value) Replaces a value in the array with the specified value as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.set(int index, BigInteger value) Replaces a value in the array with the specified value as aJsonNumberat the specified position.default JsonArrayBuilderJsonArrayBuilder.set(int index, JsonArrayBuilder builder) Replaces a value in the array with the specified value as aJsonArrayfrom an array builder at the specified position.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.default JsonArrayBuilderReplaces a value in the array with the specified value at the specified position.default JsonArrayBuilderJsonArrayBuilder.setNull(int index) Replaces a value in the array with aJsonValue.NULLvalue at the specified position.Methods in javax.json with parameters of type JsonArrayBuilderModifier and TypeMethodDescriptiondefault JsonArrayBuilderJsonArrayBuilder.add(int index, JsonArrayBuilder builder) Adds aJsonArrayfrom an array builder to the array at the specified position.JsonArrayBuilder.add(JsonArrayBuilder builder) Adds aJsonArrayfrom an array builder to the array.JsonObjectBuilder.add(String name, JsonArrayBuilder builder) Adds a name/JsonArraypair to the JSON object associated with this object builder.default JsonArrayBuilderJsonArrayBuilder.addAll(JsonArrayBuilder builder) Adds all elements of the array in the specified array builder to the array.default JsonArrayBuilderJsonArrayBuilder.set(int index, JsonArrayBuilder builder) Replaces a value in the array with the specified value as aJsonArrayfrom an array builder at the specified position. -
Uses of JsonArrayBuilder in javax.json.spi
Methods in javax.json.spi that return JsonArrayBuilderModifier and TypeMethodDescriptionabstract JsonArrayBuilderJsonProvider.createArrayBuilder()Creates a JSON array builder.JsonProvider.createArrayBuilder(Collection<?> collection) Creates a JSON array builder, initialized with the content of specifiedcollection.JsonProvider.createArrayBuilder(JsonArray array) Creates a JSON array builder, initialized with the specified array. -
Uses of JsonArrayBuilder in javax.json.stream
Methods in javax.json.stream with type parameters of type JsonArrayBuilderModifier and TypeMethodDescriptionstatic <T extends JsonArrayBuilder>
Collector<JsonValue, Map<String, T>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier, Collector<JsonValue, T, JsonArray> downstream) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.Methods in javax.json.stream that return types with arguments of type JsonArrayBuilderModifier and TypeMethodDescriptionstatic Collector<JsonValue, Map<String, JsonArrayBuilder>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.static Collector<JsonValue, JsonArrayBuilder, JsonArray> JsonCollectors.toJsonArray()Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonArray. -
Uses of JsonArrayBuilder in org.glassfish.json
Classes in org.glassfish.json that implement JsonArrayBuilderModifier and TypeClassDescription(package private) classJsonArrayBuilder implementationFields in org.glassfish.json declared as JsonArrayBuilderMethods in org.glassfish.json that return JsonArrayBuilderModifier and TypeMethodDescriptionJsonArrayBuilderImpl.add(boolean value) JsonArrayBuilderImpl.add(double value) JsonArrayBuilderImpl.add(int value) JsonArrayBuilderImpl.add(int index, boolean value) JsonArrayBuilderImpl.add(int index, double value) JsonArrayBuilderImpl.add(int index, int value) JsonArrayBuilderImpl.add(int index, long value) JsonArrayBuilderImpl.add(int index, BigDecimal value) JsonArrayBuilderImpl.add(int index, BigInteger value) JsonArrayBuilderImpl.add(int index, JsonArrayBuilder builder) JsonArrayBuilderImpl.add(int index, JsonObjectBuilder builder) JsonArrayBuilderImpl.add(long value) JsonArrayBuilderImpl.add(BigDecimal value) JsonArrayBuilderImpl.add(BigInteger value) JsonArrayBuilderImpl.add(JsonArrayBuilder builder) JsonArrayBuilderImpl.add(JsonObjectBuilder builder) JsonArrayBuilderImpl.addAll(JsonArrayBuilder builder) JsonArrayBuilderImpl.addNull()JsonArrayBuilderImpl.addNull(int index) JsonBuilderFactoryImpl.createArrayBuilder()JsonBuilderFactoryImpl.createArrayBuilder(Collection<?> collection) JsonBuilderFactoryImpl.createArrayBuilder(JsonArray array) JsonProviderImpl.createArrayBuilder()JsonProviderImpl.createArrayBuilder(Collection<?> collection) JsonProviderImpl.createArrayBuilder(JsonArray array) JsonArrayBuilderImpl.remove(int index) JsonArrayBuilderImpl.set(int index, boolean value) JsonArrayBuilderImpl.set(int index, double value) JsonArrayBuilderImpl.set(int index, int value) JsonArrayBuilderImpl.set(int index, long value) JsonArrayBuilderImpl.set(int index, BigDecimal value) JsonArrayBuilderImpl.set(int index, BigInteger value) JsonArrayBuilderImpl.set(int index, JsonArrayBuilder builder) JsonArrayBuilderImpl.set(int index, JsonObjectBuilder builder) JsonArrayBuilderImpl.setNull(int index) Methods in org.glassfish.json with parameters of type JsonArrayBuilderModifier and TypeMethodDescriptionJsonArrayBuilderImpl.add(int index, JsonArrayBuilder builder) JsonArrayBuilderImpl.add(JsonArrayBuilder builder) JsonObjectBuilderImpl.add(String name, JsonArrayBuilder builder) JsonArrayBuilderImpl.addAll(JsonArrayBuilder builder) private JsonArrayJsonParserImpl.getArray(JsonArrayBuilder builder) JsonArrayBuilderImpl.set(int index, JsonArrayBuilder builder)