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).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
Methods 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.JsonPatchImpl.apply(JsonStructure target) Applies the patch operations to the specifiedtarget.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.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.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.JsonPointerImpl.getValue(JsonStructure target) Returns the value at the referenced location in the specifiedtargetJsonPointerImpl.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. -
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)