Uses of Interface
javax.json.JsonStructure
-
Packages that use JsonStructure 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.org.glassfish.json org.glassfish.json.jaxrs1x -
-
Uses of JsonStructure in javax.json
Subinterfaces of JsonStructure in javax.json Modifier and Type Interface Description interfaceJsonArrayJsonArrayrepresents an immutable JSON array (an ordered sequence of zero or more values).interfaceJsonObjectJsonObjectclass represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).Classes in javax.json that implement JsonStructure Modifier and Type Class Description (package private) classEmptyArrayPrivate implementation of immutableJsonArray.(package private) classEmptyObjectPrivate implementation of immutableJsonObject.Methods in javax.json with type parameters of type JsonStructure Modifier and Type Method Description <T extends JsonStructure>
TJsonPointer. add(T target, JsonValue value)Adds or replaces a value at the referenced location in the specifiedtargetwith the specifiedvalue.<T extends JsonStructure>
TJsonPatch. apply(T target)Applies the patch operations to the specifiedtarget.<T extends JsonStructure>
TJsonPointer. remove(T target)Removes the value at the reference location in the specifiedtarget.<T extends JsonStructure>
TJsonPointer. replace(T target, JsonValue value)Replaces the value at the referenced location in the specifiedtargetwith the specifiedvalue.Methods in javax.json that return JsonStructure Modifier and Type Method Description JsonStructureJsonReader. read()Returns a JSON array or object that is represented in the input source.Methods in javax.json with parameters of type JsonStructure Modifier and Type Method Description booleanJsonPointer. containsValue(JsonStructure target)Returnstrueif there is a value at the referenced location in the specifiedtarget.static JsonPatchJson. createDiff(JsonStructure source, JsonStructure target)Generates a JSON Patch (RFC 6902) from the source and targetJsonStructure.JsonValueJsonPointer. getValue(JsonStructure target)Returns the value at the referenced location in the specifiedtarget.voidJsonWriter. write(JsonStructure value) -
Uses of JsonStructure in javax.json.spi
Methods in javax.json.spi with parameters of type JsonStructure Modifier and Type Method Description JsonPatchJsonProvider. createDiff(JsonStructure source, JsonStructure target)Generates a JSON Patch (RFC 6902) from the source and targetJsonStructure. -
Uses of JsonStructure in org.glassfish.json
Classes in org.glassfish.json that implement JsonStructure Modifier and Type Class Description private static classJsonArrayBuilderImpl.JsonArrayImplprivate static classJsonObjectBuilderImpl.JsonObjectImplFields in org.glassfish.json declared as JsonStructure Modifier and Type Field Description private JsonStructureNodeReference.RootReference. rootMethods in org.glassfish.json with type parameters of type JsonStructure Modifier and Type Method Description <T extends JsonStructure>
TJsonPatchBuilderImpl. apply(T target)A convenience method fornew JsonPatchImpl(build()).apply(target).Methods in org.glassfish.json that return JsonStructure Modifier and Type Method Description JsonStructureJsonPointerImpl. add(JsonStructure target, JsonValue value)Adds or replaces a value at the referenced location in the specifiedtargetwith the specifiedvalue.abstract JsonStructureNodeReference. add(JsonValue value)Add or replace a value at the referenced location.JsonStructureNodeReference.RootReference. add(JsonValue value)JsonStructureJsonPatchImpl. apply(JsonStructure target)Applies the patch operations to the specifiedtarget.private JsonStructureJsonPatchImpl. apply(JsonStructure target, JsonObject operation)Applies a JSON Patch operation to the target.private JsonStructureJsonPointerImpl. execute(java.util.function.BiFunction<NodeReference,JsonValue,JsonStructure> op, JsonStructure target, JsonValue value)Executes the operationJsonStructureJsonReaderImpl. read()JsonStructureJsonPointerImpl. remove(JsonStructure target)Removes the value at the reference location in the specifiedtargetabstract JsonStructureNodeReference. remove()Remove the name/value pair from the JSON object, or the value in a JSON array, as specified by the referenceJsonStructureNodeReference.RootReference. remove()JsonStructureJsonPointerImpl. replace(JsonStructure target, JsonValue value)Replaces the value at the referenced location in the specifiedtargetwith the specifiedvalue.abstract JsonStructureNodeReference. replace(JsonValue value)Replace the referenced value with the specified value.JsonStructureNodeReference.RootReference. replace(JsonValue value)Methods in org.glassfish.json with parameters of type JsonStructure Modifier and Type Method Description JsonStructureJsonPointerImpl. add(JsonStructure target, JsonValue value)Adds or replaces a value at the referenced location in the specifiedtargetwith the specifiedvalue.JsonStructureJsonPatchImpl. apply(JsonStructure target)Applies the patch operations to the specifiedtarget.private JsonStructureJsonPatchImpl. apply(JsonStructure target, JsonObject operation)Applies a JSON Patch operation to the target.booleanJsonPointerImpl. containsValue(JsonStructure target)Returnstrueif there is a value at the referenced location in the specifiedtarget.JsonPatchJsonProviderImpl. createDiff(JsonStructure source, JsonStructure target)static JsonArrayJsonPatchImpl. diff(JsonStructure source, JsonStructure target)Generates a JSON Patch from the source and targetJsonStructure.(package private) JsonArrayJsonPatchImpl.DiffGenerator. diff(JsonStructure source, JsonStructure target)private JsonStructureJsonPointerImpl. execute(java.util.function.BiFunction<NodeReference,JsonValue,JsonStructure> op, JsonStructure target, JsonValue value)Executes the operationprivate NodeReference[]JsonPointerImpl. getReferences(JsonStructure target)Computes theNodeReferences for each node on the path of the JSON Pointer, in reverse order, starting from the leaf nodeJsonValueJsonPointerImpl. getValue(JsonStructure target)Returns the value at the referenced location in the specifiedtargetstatic NodeReferenceNodeReference. of(JsonStructure structure)Returns aNodeReferencefor aJsonStructure.JsonStructureJsonPointerImpl. remove(JsonStructure target)Removes the value at the reference location in the specifiedtargetJsonStructureJsonPointerImpl. replace(JsonStructure target, JsonValue value)Replaces the value at the referenced location in the specifiedtargetwith the specifiedvalue.voidJsonWriterImpl. write(JsonStructure value)Method parameters in org.glassfish.json with type arguments of type JsonStructure Modifier and Type Method Description private JsonStructureJsonPointerImpl. execute(java.util.function.BiFunction<NodeReference,JsonValue,JsonStructure> op, JsonStructure target, JsonValue value)Executes the operationConstructors in org.glassfish.json with parameters of type JsonStructure Constructor Description RootReference(JsonStructure root) -
Uses of JsonStructure in org.glassfish.json.jaxrs1x
Methods in org.glassfish.json.jaxrs1x that return JsonStructure Modifier and Type Method Description JsonStructureJsonStructureBodyReader. readFrom(java.lang.Class<JsonStructure> jsonStructureClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> stringStringMultivaluedMap, java.io.InputStream inputStream)Methods in org.glassfish.json.jaxrs1x with parameters of type JsonStructure Modifier and Type Method Description longJsonStructureBodyWriter. getSize(JsonStructure jsonStructure, java.lang.Class<?> aClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)voidJsonStructureBodyWriter. writeTo(JsonStructure jsonStructure, java.lang.Class<?> aClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.Object> stringObjectMultivaluedMap, java.io.OutputStream outputStream)Method parameters in org.glassfish.json.jaxrs1x with type arguments of type JsonStructure Modifier and Type Method Description JsonStructureJsonStructureBodyReader. readFrom(java.lang.Class<JsonStructure> jsonStructureClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> stringStringMultivaluedMap, java.io.InputStream inputStream)
-