Uses of Interface
javax.json.JsonValue
Packages that use JsonValue
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 JsonValue in javax.json
Subinterfaces of JsonValue in javax.jsonModifier and TypeInterfaceDescriptioninterfaceJsonArrayrepresents an immutable JSON array (an ordered sequence of zero or more values).interfaceAn immutable JSON number value.interfaceJsonObjectclass represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).interfaceAn immutable JSON string value.interfaceClasses in javax.json that implement JsonValueModifier and TypeClassDescription(package private) final classPrivate implementation of immutableJsonArray.(package private) final classPrivate implementation of immutableJsonObject.(package private) final classPrivate implementation ofJsonValuefor simpleJsonValue.ValueTypes allowing their usage in constants which are better to implementSerializable.Subclasses with type arguments of type JsonValue in javax.jsonModifier and TypeClassDescription(package private) final classPrivate implementation of immutableJsonArray.(package private) final classPrivate implementation of immutableJsonObject.Subinterfaces with type arguments of type JsonValue 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).Fields in javax.json declared as JsonValueModifier and TypeFieldDescriptionstatic final JsonValueJsonValue.FALSEJSON false value.static final JsonValueJsonValue.NULLJSON null value.static final JsonValueJsonValue.TRUEJSON true value.Methods in javax.json with type parameters of type JsonValueModifier and TypeMethodDescriptionEmptyArray.getValuesAs(Class<T> clazz) JsonArray.getValuesAs(Class<T> clazz) Returns a list view of the specified type for the array.JsonArray.getValuesAs(Function<K, T> func) Returns a list view for the array.Methods in javax.json that return JsonValueModifier and TypeMethodDescriptionApplies the JSON Merge Patch to the specifiedtarget.EmptyArray.get(int index) JsonPointer.getValue(JsonStructure target) Returns the value at the referenced location in the specifiedtarget.default JsonValueGet the value referenced by the provided JSON Pointer in the JsonStructure.default JsonValueJsonReader.readValue()Returns a JSON value that is represented in the input source.JsonMergePatch.toJsonValue()Returns theJsonMergePatchasJsonValue.Methods in javax.json that return types with arguments of type JsonValueMethods in javax.json with parameters of type JsonValueModifier and TypeMethodDescriptiondefault JsonArrayBuilderInserts a value to the array at the specified position.Adds a value to the array.Adds a name/JsonValuepair to the JSON object associated with this object builder.Adds an "add" JSON Patch operation.<T extends JsonStructure>
TAdds or replaces a value at the referenced location in the specifiedtargetwith the specifiedvalue.Applies the JSON Merge Patch to the specifiedtarget.static JsonMergePatchJson.createMergeDiff(JsonValue source, JsonValue target) Generates a JSON Merge Patch (RFC 7396) from the source and targetJsonValues which when applied to thesource, yields thetarget.static JsonMergePatchJson.createMergePatch(JsonValue patch) Creates JSON Merge Patch (RFC 7396) from specifiedJsonValue.Adds a "replace" JSON Patch operation.<T extends JsonStructure>
TReplaces the value at the referenced location in the specifiedtargetwith the specifiedvalue.default JsonArrayBuilderReplaces a value in the array with the specified value at the specified position.Adds a "test" JSON Patch operation.default voidWrites the specifiedJsonValueto the output source. -
Uses of JsonValue in javax.json.spi
Methods in javax.json.spi with parameters of type JsonValueModifier and TypeMethodDescriptionJsonProvider.createMergeDiff(JsonValue source, JsonValue target) Generates a JSON Merge Patch (RFC 7396) from the source and targetJsonValues which when applied to thesource, yields thetarget.JsonProvider.createMergePatch(JsonValue patch) Creates JSON Merge Patch (RFC 7396) from specifiedJsonValue. -
Uses of JsonValue in javax.json.stream
Methods in javax.json.stream that return JsonValueModifier and TypeMethodDescriptiondefault JsonValueJsonParser.getValue()Returns aJsonValueat the current parser position.Methods in javax.json.stream that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJsonParser.getArrayStream()Returns a stream of theJsonArrayelements.JsonParser.getObjectStream()Returns a stream of theJsonObject's name/value pairs.JsonParser.getValueStream()Returns a stream ofJsonValuefrom a sequence of JSON values.static Collector<JsonValue, Map<String, JsonArrayBuilder>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.static <T extends JsonArrayBuilder>
Collector<JsonValue, Map<String, T>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier, Collector<JsonValue, T, JsonArray> downstream) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.static Collector<JsonValue, JsonArrayBuilder, JsonArray> JsonCollectors.toJsonArray()Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonArray.static Collector<Map.Entry<String, JsonValue>, JsonObjectBuilder, JsonObject> JsonCollectors.toJsonObject()Constructs ajava.util.stream.Collectorthat accumulates the inputMap.Entry<String,JsonValue>elements into aJsonObject.static Collector<JsonValue, JsonObjectBuilder, JsonObject> JsonCollectors.toJsonObject(Function<JsonValue, String> keyMapper, Function<JsonValue, JsonValue> valueMapper) Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonObject.Methods in javax.json.stream with parameters of type JsonValueModifier and TypeMethodDescriptionWrites a JSON name/value pair in the current object context.Writes the specified value as a JSON value within the current array, field or root context.Method parameters in javax.json.stream with type arguments of type JsonValueModifier and TypeMethodDescriptionstatic Collector<JsonValue, Map<String, JsonArrayBuilder>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.static <T extends JsonArrayBuilder>
Collector<JsonValue, Map<String, T>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier, Collector<JsonValue, T, JsonArray> downstream) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.static <T extends JsonArrayBuilder>
Collector<JsonValue, Map<String, T>, JsonObject> JsonCollectors.groupingBy(Function<JsonValue, String> classifier, Collector<JsonValue, T, JsonArray> downstream) Constructs ajava.util.stream.Collectorthat implements a "group by" operation on the inputJsonValueelements.static Collector<JsonValue, JsonObjectBuilder, JsonObject> JsonCollectors.toJsonObject(Function<JsonValue, String> keyMapper, Function<JsonValue, JsonValue> valueMapper) Constructs ajava.util.stream.Collectorthat accumulates the inputJsonValueelements into aJsonObject. -
Uses of JsonValue in org.glassfish.json
Classes in org.glassfish.json that implement JsonValueModifier and TypeClassDescriptionprivate static final class(package private) classJsonNumber impl.private static final classprivate static final classprivate static final classprivate static final class(package private) final classJsonString implSubclasses with type arguments of type JsonValue in org.glassfish.jsonModifier and TypeClassDescriptionprivate static final classprivate static final classFields in org.glassfish.json declared as JsonValueModifier and TypeFieldDescriptionprivate JsonValueJsonMergePatchImpl.patchprivate JsonValueJsonStructureParser.ArrayScope.valueprivate JsonValueJsonStructureParser.ObjectScope.valueFields in org.glassfish.json with type parameters of type JsonValueModifier and TypeFieldDescriptionJsonStructureParser.ArrayScope.itJsonStructureParser.ObjectScope.itJsonArrayBuilderImpl.JsonArrayImpl.valueListJsonArrayBuilderImpl.valueListJsonObjectBuilderImpl.JsonObjectImpl.valueMapJsonObjectBuilderImpl.valueMapMethods in org.glassfish.json with type parameters of type JsonValueMethods in org.glassfish.json that return JsonValueModifier and TypeMethodDescription(package private) static JsonValueGenerate a JSON Merge Patch from the source and targetJsonValue.JsonArrayBuilderImpl.JsonArrayImpl.get(int index) NodeReference.ArrayReference.get()abstract JsonValueNodeReference.get()Get the value at the referenced location.NodeReference.ObjectReference.get()NodeReference.RootReference.get()(package private) JsonValueJsonStructureParser.ArrayScope.getJsonValue()(package private) JsonValueJsonStructureParser.ObjectScope.getJsonValue()(package private) abstract JsonValueJsonStructureParser.Scope.getJsonValue()JsonParserImpl.getValue()private JsonValueJsonPatchImpl.getValue(JsonObject operation) JsonPointerImpl.getValue(JsonStructure target) Returns the value at the referenced location in the specifiedtarget(package private) static JsonValueMapUtil.handle(Object value, BufferPool bufferPool) private static JsonValueJsonMergePatchImpl.mergePatch(JsonValue target, JsonValue patch) Applies the specified patch to the specified target.JsonStructureParser.ArrayScope.next()JsonReaderImpl.readValue()static JsonValueReads the input JSON text and returns a JsonValue.JsonMergePatchImpl.toJsonValue()Methods in org.glassfish.json that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJsonObjectBuilderImpl.JsonObjectImpl.entrySet()JsonParserImpl.getArrayStream()JsonParserImpl.getObjectStream()JsonParserImpl.getValueStream()JsonStructureParser.ObjectScope.next()Methods in org.glassfish.json with parameters of type JsonValueModifier and TypeMethodDescriptionAdds an "add" JSON Patch operation.JsonPointerImpl.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.private voidJsonArrayBuilderImpl.addValueList(int index, JsonValue value) private voidJsonArrayBuilderImpl.addValueList(JsonValue value) JsonProviderImpl.createMergeDiff(JsonValue source, JsonValue target) JsonProviderImpl.createMergePatch(JsonValue patch) (package private) static JsonStructureParser.ScopeJsonStructureParser.Scope.createScope(JsonValue value) (package private) static JsonValueGenerate a JSON Merge Patch from the source and targetJsonValue.private voidprivate JsonStructureJsonPointerImpl.execute(BiFunction<NodeReference, JsonValue, JsonStructure> op, JsonStructure target, JsonValue value) Executes the operationprivate static JsonParser.Eventprivate static JsonValueJsonMergePatchImpl.mergePatch(JsonValue target, JsonValue patch) Applies the specified patch to the specified target.(package private) static StringJsonMessages.PARSER_SCOPE_ERR(JsonValue value) private voidJsonObjectBuilderImpl.putValueMap(String name, JsonValue value) Adds a "replace" JSON Patch operation.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.private voidJsonArrayBuilderImpl.setValueList(int index, JsonValue value) Adds a "test" JSON Patch operation.voidMethod parameters in org.glassfish.json with type arguments of type JsonValueModifier and TypeMethodDescriptionprivate JsonStructureJsonPointerImpl.execute(BiFunction<NodeReference, JsonValue, JsonStructure> op, JsonStructure target, JsonValue value) Executes the operationConstructors in org.glassfish.json with parameters of type JsonValueConstructor parameters in org.glassfish.json with type arguments of type JsonValueModifierConstructorDescription(package private)JsonArrayImpl(List<JsonValue> valueList, BufferPool bufferPool) (package private)JsonObjectImpl(Map<String, JsonValue> valueMap, BufferPool bufferPool) -
Uses of JsonValue in org.glassfish.json.jaxrs
Classes in org.glassfish.json.jaxrs that implement interfaces with type arguments of type JsonValueModifier and TypeClassDescriptionclassJAX-RS MessageBodyReader for JsonValue.classJAX-RS MessageBodyWriter for JsonValue.Methods in org.glassfish.json.jaxrs that return JsonValueModifier and TypeMethodDescriptionJsonValueBodyReader.readFrom(Class<JsonValue> jsonValueClass, 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.jaxrs with parameters of type JsonValueModifier and TypeMethodDescriptionlongJsonValueBodyWriter.getSize(JsonValue jsonValue, Class<?> aClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType) voidJsonValueBodyWriter.writeTo(JsonValue jsonValue, 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.jaxrs with type arguments of type JsonValueModifier and TypeMethodDescriptionJsonValueBodyReader.readFrom(Class<JsonValue> jsonValueClass, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String, String> stringStringMultivaluedMap, InputStream inputStream)