Uses of Interface
javax.json.JsonArray
Packages that use JsonArray
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 JsonArray in javax.json
Classes in javax.json that implement JsonArrayModifier and TypeClassDescription(package private) final class
Private implementation of immutableJsonArray
.Fields in javax.json declared as JsonArrayModifier and TypeFieldDescriptionstatic final JsonArray
JsonValue.EMPTY_JSON_ARRAY
The empty JSON array.Methods in javax.json that return JsonArrayModifier and TypeMethodDescriptiondefault JsonArray
JsonValue.asJsonArray()
Return the JsonValue as a JsonArrayJsonArrayBuilder.build()
Returns the current array.EmptyArray.getJsonArray
(int index) EmptyObject.getJsonArray
(String name) JsonArray.getJsonArray
(int index) Returns the array value at the specified position in this array.JsonObject.getJsonArray
(String name) Returns the array value to which the specified name is mapped.JsonReader.readArray()
Returns a JSON array that is represented in the input source.JsonPatch.toJsonArray()
Returns theJsonPatch
asJsonArray
.Methods in javax.json with parameters of type JsonArrayModifier and TypeMethodDescriptionstatic JsonArrayBuilder
Json.createArrayBuilder
(JsonArray array) Creates a JSON array builder, initialized with the specified arraydefault JsonArrayBuilder
JsonBuilderFactory.createArrayBuilder
(JsonArray array) Creates aJsonArrayBuilder
instance, initialized with an array.static JsonPatch
Json.createPatch
(JsonArray array) Creates a JSON Patch (RFC 6902) from the specified operations.static JsonPatchBuilder
Json.createPatchBuilder
(JsonArray array) Creates a JSON Patch builder (RFC 6902), initialized with the specified operations.void
JsonWriter.writeArray
(JsonArray array) Writes the specified JSONarray
to the output source. -
Uses of JsonArray in javax.json.spi
Methods in javax.json.spi with parameters of type JsonArrayModifier and TypeMethodDescriptionJsonProvider.createArrayBuilder
(JsonArray array) Creates a JSON array builder, initialized with the specified array.JsonProvider.createPatch
(JsonArray array) Creates a JSON Patch (RFC 6902) from the specified operations.JsonProvider.createPatchBuilder
(JsonArray array) Creates a JSON Patch builder (RFC 6902), initialized with the specified operations. -
Uses of JsonArray in javax.json.stream
Methods in javax.json.stream that return JsonArrayModifier and TypeMethodDescriptiondefault JsonArray
JsonParser.getArray()
Returns aJsonArray
and advance the parser to the the correspondingEND_ARRAY
.Methods in javax.json.stream that return types with arguments of type JsonArrayModifier and TypeMethodDescriptionstatic Collector
<JsonValue, JsonArrayBuilder, JsonArray> JsonCollectors.toJsonArray()
Constructs ajava.util.stream.Collector
that accumulates the inputJsonValue
elements into aJsonArray
.Methods in javax.json.stream with parameters of type JsonArrayModifier and TypeMethodDescriptionJsonParserFactory.createParser
(JsonArray array) Creates a JSON parser from the specified JSON array.Method parameters in javax.json.stream with type arguments of type JsonArrayModifier 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.Collector
that implements a "group by" operation on the inputJsonValue
elements. -
Uses of JsonArray in org.glassfish.json
Classes in org.glassfish.json that implement JsonArrayFields in org.glassfish.json declared as JsonArrayModifier and TypeFieldDescriptionprivate final JsonArray
NodeReference.ArrayReference.array
private final JsonArray
JsonPatchImpl.patch
Methods in org.glassfish.json that return JsonArrayModifier and TypeMethodDescriptionJsonArrayBuilderImpl.JsonArrayImpl.asJsonArray()
JsonArrayBuilderImpl.build()
JsonPatchBuilderImpl.buildAsJsonArray()
Returns the patch operations in a JsonArraystatic JsonArray
JsonPatchImpl.diff
(JsonStructure source, JsonStructure target) Generates a JSON Patch from the source and targetJsonStructure
.(package private) JsonArray
JsonPatchImpl.DiffGenerator.diff
(JsonStructure source, JsonStructure target) JsonParserImpl.getArray()
private JsonArray
JsonParserImpl.getArray
(JsonArrayBuilder builder) JsonArrayBuilderImpl.JsonArrayImpl.getJsonArray
(int index) JsonObjectBuilderImpl.JsonObjectImpl.getJsonArray
(String name) JsonReaderImpl.readArray()
NodeReference.ArrayReference.remove()
JsonPatchImpl.toJsonArray()
Methods in org.glassfish.json with parameters of type JsonArrayModifier and TypeMethodDescriptionJsonBuilderFactoryImpl.createArrayBuilder
(JsonArray array) JsonProviderImpl.createArrayBuilder
(JsonArray array) JsonParserFactoryImpl.createParser
(JsonArray array) JsonProviderImpl.createPatch
(JsonArray array) JsonProviderImpl.createPatchBuilder
(JsonArray array) private void
private void
JsonPatchImpl.DiffGenerator.emit
(String path, JsonArray source, JsonArray target, int[][] c, int i, int j) static NodeReference
Returns aNodeReference
for a member value in a JSON array.void
JsonWriterImpl.writeArray
(JsonArray array) Constructors in org.glassfish.json with parameters of type JsonArrayModifierConstructorDescription(package private)
ArrayReference
(JsonArray array, int index) (package private)
ArrayScope
(JsonArray array) (package private)
JsonArrayBuilderImpl
(JsonArray array, BufferPool bufferPool) JsonPatchBuilderImpl
(JsonArray patch) Creates a JsonPatchBuilderImpl, starting with the specified JSON PatchJsonPatchImpl
(JsonArray patch) Constructs a JsonPatchImpl(package private)
JsonStructureParser
(JsonArray array)