Uses of Interface
javax.json.JsonStructure
Packages that use JsonStructure
Package
Description
Provides an object model API to process JSON.
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
-
Uses of JsonStructure in javax.json
Subinterfaces of JsonStructure in javax.jsonModifier and TypeInterfaceDescriptioninterfaceJsonArrayrepresents an immutable JSON array (an ordered sequence of zero or more values).interfaceJsonObjectclass represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).Classes in javax.json that implement JsonStructureModifier and TypeClassDescription(package private) final classPrivate implementation of immutableJsonArray.(package private) final classPrivate implementation of immutableJsonObject.Methods in javax.json with type parameters of type JsonStructureModifier and TypeMethodDescription<T extends JsonStructure>
TAdds 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>
TReplaces the value at the referenced location in the specifiedtargetwith the specifiedvalue.Methods in javax.json that return JsonStructureModifier and TypeMethodDescriptionJsonReader.read()Returns a JSON array or object that is represented in the input source.Methods in javax.json with parameters of type JsonStructureModifier and TypeMethodDescriptionbooleanJsonPointer.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.JsonPointer.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 JsonStructureModifier and TypeMethodDescriptionJsonProvider.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 JsonStructureModifier and TypeClassDescriptionprivate static final classprivate static final classFields in org.glassfish.json declared as JsonStructureMethods in org.glassfish.json with type parameters of type JsonStructureModifier and TypeMethodDescription<T extends JsonStructure>
TJsonPatchBuilderImpl.apply(T target) A convenience method fornew JsonPatchImpl(build()).apply(target).Methods in org.glassfish.json that return JsonStructureModifier and TypeMethodDescriptionJsonPointerImpl.add(JsonStructure target, JsonValue value) Adds or replaces a value at the referenced location in the specifiedtargetwith the specifiedvalue.abstract JsonStructureAdd or replace a value at the referenced location.JsonPatchImpl.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(BiFunction<NodeReference, JsonValue, JsonStructure> op, JsonStructure target, JsonValue value) Executes the operationJsonReaderImpl.read()JsonPointerImpl.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 referenceNodeReference.RootReference.remove()JsonPointerImpl.replace(JsonStructure target, JsonValue value) Replaces the value at the referenced location in the specifiedtargetwith the specifiedvalue.abstract JsonStructureReplace the referenced value with the specified value.Methods in org.glassfish.json with parameters of type JsonStructureModifier and TypeMethodDescriptionJsonPointerImpl.add(JsonStructure target, JsonValue value) Adds or replaces a value at the referenced location in the specifiedtargetwith the specifiedvalue.JsonPatchImpl.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.JsonProviderImpl.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(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 nodeJsonPointerImpl.getValue(JsonStructure target) Returns the value at the referenced location in the specifiedtargetstatic NodeReferenceNodeReference.of(JsonStructure structure) Returns aNodeReferencefor aJsonStructure.JsonPointerImpl.remove(JsonStructure target) Removes the value at the reference location in the specifiedtargetJsonPointerImpl.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 JsonStructureModifier and TypeMethodDescriptionprivate JsonStructureJsonPointerImpl.execute(BiFunction<NodeReference, JsonValue, JsonStructure> op, JsonStructure target, JsonValue value) Executes the operationConstructors in org.glassfish.json with parameters of type JsonStructure -
Uses of JsonStructure in org.glassfish.json.jaxrs1x
Classes in org.glassfish.json.jaxrs1x that implement interfaces with type arguments of type JsonStructureModifier and TypeClassDescriptionclassJAX-RS MessageBodyReader for JsonStructure.classJAX-RS MessageBodyWriter for JsonStructure.Methods in org.glassfish.json.jaxrs1x that return JsonStructureModifier and TypeMethodDescriptionJsonStructureBodyReader.readFrom(Class<JsonStructure> jsonStructureClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, String> stringStringMultivaluedMap, InputStream inputStream) Methods in org.glassfish.json.jaxrs1x with parameters of type JsonStructureModifier and TypeMethodDescriptionlongJsonStructureBodyWriter.getSize(JsonStructure jsonStructure, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) voidJsonStructureBodyWriter.writeTo(JsonStructure jsonStructure, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, Object> stringObjectMultivaluedMap, OutputStream outputStream) Method parameters in org.glassfish.json.jaxrs1x with type arguments of type JsonStructureModifier and TypeMethodDescriptionJsonStructureBodyReader.readFrom(Class<JsonStructure> jsonStructureClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, String> stringStringMultivaluedMap, InputStream inputStream)