Uses of Interface
javax.json.JsonArray
-
Packages that use JsonArray Package Description javax.json Provides an object model API to process JSON.javax.json.spi Service Provider Interface (SPI) to plug in implementations for JSON processing objects.javax.json.stream Provides a streaming API to parse and generate JSON.org.glassfish.json -
-
Uses of JsonArray in javax.json
Classes in javax.json that implement JsonArray Modifier and Type Class Description (package private) classEmptyArrayPrivate implementation of immutableJsonArray.Fields in javax.json declared as JsonArray Modifier and Type Field Description static JsonArrayJsonValue. EMPTY_JSON_ARRAYThe empty JSON array.Methods in javax.json that return JsonArray Modifier and Type Method Description default JsonArrayJsonValue. asJsonArray()Return the JsonValue as a JsonArrayJsonArrayJsonArrayBuilder. build()Returns the current array.JsonArrayEmptyArray. getJsonArray(int index)JsonArrayEmptyObject. getJsonArray(java.lang.String name)JsonArrayJsonArray. getJsonArray(int index)Returns the array value at the specified position in this array.JsonArrayJsonObject. getJsonArray(java.lang.String name)Returns the array value to which the specified name is mapped.JsonArrayJsonReader. readArray()Returns a JSON array that is represented in the input source.JsonArrayJsonPatch. toJsonArray()Returns theJsonPatchasJsonArray.Methods in javax.json with parameters of type JsonArray Modifier and Type Method Description static JsonArrayBuilderJson. createArrayBuilder(JsonArray array)Creates a JSON array builder, initialized with the specified arraydefault JsonArrayBuilderJsonBuilderFactory. createArrayBuilder(JsonArray array)Creates aJsonArrayBuilderinstance, initialized with an array.static JsonPatchJson. createPatch(JsonArray array)Creates a JSON Patch (RFC 6902) from the specified operations.static JsonPatchBuilderJson. createPatchBuilder(JsonArray array)Creates a JSON Patch builder (RFC 6902), initialized with the specified operations.voidJsonWriter. writeArray(JsonArray array)Writes the specified JSONarrayto the output source. -
Uses of JsonArray in javax.json.spi
Methods in javax.json.spi with parameters of type JsonArray Modifier and Type Method Description JsonArrayBuilderJsonProvider. createArrayBuilder(JsonArray array)Creates a JSON array builder, initialized with the specified array.JsonPatchJsonProvider. createPatch(JsonArray array)Creates a JSON Patch (RFC 6902) from the specified operations.JsonPatchBuilderJsonProvider. 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 JsonArray Modifier and Type Method Description default JsonArrayJsonParser. getArray()Returns aJsonArrayand advance the parser to the the correspondingEND_ARRAY.Methods in javax.json.stream that return types with arguments of type JsonArray Modifier and Type Method Description static java.util.stream.Collector<JsonValue,JsonArrayBuilder,JsonArray>JsonCollectors. toJsonArray()Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonArray.Methods in javax.json.stream with parameters of type JsonArray Modifier and Type Method Description JsonParserJsonParserFactory. createParser(JsonArray array)Creates a JSON parser from the specified JSON array.Method parameters in javax.json.stream with type arguments of type JsonArray Modifier and Type Method Description static <T extends JsonArrayBuilder>
java.util.stream.Collector<JsonValue,java.util.Map<java.lang.String,T>,JsonObject>JsonCollectors. groupingBy(java.util.function.Function<JsonValue,java.lang.String> classifier, java.util.stream.Collector<JsonValue,T,JsonArray> downstream)Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements. -
Uses of JsonArray in org.glassfish.json
Classes in org.glassfish.json that implement JsonArray Modifier and Type Class Description private static classJsonArrayBuilderImpl.JsonArrayImplFields in org.glassfish.json declared as JsonArray Modifier and Type Field Description private JsonArrayNodeReference.ArrayReference. arrayprivate JsonArrayJsonPatchImpl. patchMethods in org.glassfish.json that return JsonArray Modifier and Type Method Description JsonArrayNodeReference.ArrayReference. add(JsonValue value)JsonArrayJsonArrayBuilderImpl.JsonArrayImpl. asJsonArray()JsonArrayJsonArrayBuilderImpl. build()JsonArrayJsonPatchBuilderImpl. buildAsJsonArray()Returns the patch operations in a JsonArraystatic JsonArrayJsonPatchImpl. diff(JsonStructure source, JsonStructure target)Generates a JSON Patch from the source and targetJsonStructure.(package private) JsonArrayJsonPatchImpl.DiffGenerator. diff(JsonStructure source, JsonStructure target)JsonArrayJsonParserImpl. getArray()private JsonArrayJsonParserImpl. getArray(JsonArrayBuilder builder)JsonArrayJsonArrayBuilderImpl.JsonArrayImpl. getJsonArray(int index)JsonArrayJsonObjectBuilderImpl.JsonObjectImpl. getJsonArray(java.lang.String name)JsonArrayJsonReaderImpl. readArray()JsonArrayNodeReference.ArrayReference. remove()JsonArrayNodeReference.ArrayReference. replace(JsonValue value)JsonArrayJsonPatchImpl. toJsonArray()Methods in org.glassfish.json with parameters of type JsonArray Modifier and Type Method Description JsonArrayBuilderJsonBuilderFactoryImpl. createArrayBuilder(JsonArray array)JsonArrayBuilderJsonProviderImpl. createArrayBuilder(JsonArray array)JsonParserJsonParserFactoryImpl. createParser(JsonArray array)JsonPatchJsonProviderImpl. createPatch(JsonArray array)JsonPatchBuilderJsonProviderImpl. createPatchBuilder(JsonArray array)private voidJsonPatchImpl.DiffGenerator. diffArray(java.lang.String path, JsonArray source, JsonArray target)private voidJsonPatchImpl.DiffGenerator. emit(java.lang.String path, JsonArray source, JsonArray target, int[][] c, int i, int j)static NodeReferenceNodeReference. of(JsonArray array, int index)Returns aNodeReferencefor a member value in a JSON array.voidJsonWriterImpl. writeArray(JsonArray array)Constructors in org.glassfish.json with parameters of type JsonArray Constructor Description ArrayReference(JsonArray array, int index)ArrayScope(JsonArray array)JsonArrayBuilderImpl(JsonArray array, BufferPool bufferPool)JsonPatchBuilderImpl(JsonArray patch)Creates a JsonPatchBuilderImpl, starting with the specified JSON PatchJsonPatchImpl(JsonArray patch)Constructs a JsonPatchImplJsonStructureParser(JsonArray array)
-