A B C D E F G H I J K L M N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(boolean) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonValue.TRUE
orJsonValue.FALSE
value to the array. - add(double) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
. - add(int) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
. - add(int, boolean) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonValue.TRUE
orJsonValue.FALSE
value to the array at the specified position. - add(int, double) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
at the specified position. - add(int, int) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
at the specified position. - add(int, long) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
at the specified position. - add(int, JsonArrayBuilder) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonArray
from an array builder to the array at the specified position. - add(int, JsonObjectBuilder) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonObject
from an object builder to the array at the specified position. - add(int, JsonValue) - Method in interface jakarta.json.JsonArrayBuilder
-
Inserts a value to the array at the specified position.
- add(int, String) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonString
at the specified position. - add(int, BigDecimal) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
at the specified position. - add(int, BigInteger) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
at the specified position. - add(long) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
. - add(JsonArrayBuilder) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonArray
from an array builder to the array. - add(JsonObjectBuilder) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonObject
from an object builder to the array. - add(JsonStructure, JsonValue) - Method in class org.glassfish.json.JsonPointerImpl
-
Adds or replaces a value at the referenced location in the specified
target
with the specifiedvalue
. - add(JsonValue) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array.
- add(String) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonString
. - add(String, boolean) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonValue#TRUE
or name/JsonValue#FALSE
pair to the JSON object associated with this object builder. - add(String, boolean) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds an "add" JSON Patch operation.
- add(String, boolean) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds an "add" JSON Patch operation
- add(String, double) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonNumber
pair to the JSON object associated with this object builder. - add(String, int) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonNumber
pair to the JSON object associated with this object builder. - add(String, int) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds an "add" JSON Patch operation.
- add(String, int) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds an "add" JSON Patch operation
- add(String, long) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonNumber
pair to the JSON object associated with this object builder. - add(String, JsonArrayBuilder) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonArray
pair to the JSON object associated with this object builder. - add(String, JsonObjectBuilder) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonObject
pair to the JSON object associated with this object builder. - add(String, JsonValue) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonValue
pair to the JSON object associated with this object builder. - add(String, JsonValue) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds an "add" JSON Patch operation.
- add(String, JsonValue) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds an "add" JSON Patch operation.
- add(String, String) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonString
pair to the JSON object associated with this object builder. - add(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds an "add" JSON Patch operation.
- add(String, String) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds an "add" JSON Patch operation
- add(String, BigDecimal) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonNumber
pair to the JSON object associated with this object builder. - add(String, BigInteger) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonNumber
pair to the JSON object associated with this object builder. - add(BigDecimal) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
. - add(BigInteger) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a value to the array as a
JsonNumber
. - add(T, JsonValue) - Method in interface jakarta.json.JsonPointer
-
Adds or replaces a value at the referenced location in the specified
target
with the specifiedvalue
. - ADD - jakarta.json.JsonPatch.Operation
-
"add" operation.
- addAll(JsonArrayBuilder) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds all elements of the array in the specified array builder to the array.
- addAll(JsonObjectBuilder) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds all name/value pairs in the JSON object associated with the specified object builder to the JSON object associated with this object builder.
- addNull() - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonValue.NULL
value to the array. - addNull(int) - Method in interface jakarta.json.JsonArrayBuilder
-
Adds a
JsonValue.NULL
value to the array at the specified position. - addNull(String) - Method in interface jakarta.json.JsonObjectBuilder
-
Adds a name/
JsonValue#NULL
pair to the JSON object associated with this object builder where the value isnull
. - apply(JsonStructure) - Method in class org.glassfish.json.JsonPatchImpl
-
Applies the patch operations to the specified
target
. - apply(JsonValue) - Method in interface jakarta.json.JsonMergePatch
-
Applies the JSON Merge Patch to the specified
target
. - apply(JsonValue) - Method in class org.glassfish.json.JsonMergePatchImpl
- apply(T) - Method in interface jakarta.json.JsonPatch
-
Applies the patch operations to the specified
target
. - apply(T) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
A convenience method for
new JsonPatchImpl(build()).apply(target)
. - ARRAY - jakarta.json.JsonValue.ValueType
-
JSON array.
- asJsonArray() - Method in interface jakarta.json.JsonValue
-
Return the JsonValue as a JsonArray
- asJsonObject() - Method in interface jakarta.json.JsonValue
-
Return the JsonValue as a JsonObject
B
- bigDecimalValue() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as a
BigDecimal
object. - bigIntegerValue() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as a
BigInteger
object. - bigIntegerValueExact() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as a
BigInteger
object. - BufferPool - Interface in org.glassfish.json.api
-
char[] pool that pool instances of char[] which are expensive to create.
- build() - Method in interface jakarta.json.JsonArrayBuilder
-
Returns the current array.
- build() - Method in interface jakarta.json.JsonObjectBuilder
-
Returns the JSON object associated with this object builder.
- build() - Method in interface jakarta.json.JsonPatchBuilder
-
Returns the JSON Patch.
- build() - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Returns the patch operation in a JsonPatch
- buildAsJsonArray() - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Returns the patch operations in a JsonArray
C
- close() - Method in interface jakarta.json.JsonReader
-
Closes this reader and frees any resources associated with the reader.
- close() - Method in interface jakarta.json.JsonWriter
- close() - Method in interface jakarta.json.stream.JsonGenerator
-
Closes this generator and frees any resources associated with it.
- close() - Method in interface jakarta.json.stream.JsonParser
-
Closes this parser and frees any resources associated with the parser.
- close() - Method in class org.glassfish.json.JsonParserImpl
- containsValue(JsonStructure) - Method in interface jakarta.json.JsonPointer
-
Returns
true
if there is a value at the referenced location in the specifiedtarget
. - containsValue(JsonStructure) - Method in class org.glassfish.json.JsonPointerImpl
-
Returns
true
if there is a value at the referenced location in the specifiedtarget
. - copy(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "copy" JSON Patch operation.
- copy(String, String) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "copy" JSON Patch operation.
- COPY - jakarta.json.JsonPatch.Operation
-
"copy" operation.
- createArrayBuilder() - Static method in class jakarta.json.Json
-
Creates a JSON array builder
- createArrayBuilder() - Method in interface jakarta.json.JsonBuilderFactory
-
Creates a
JsonArrayBuilder
instance that is used to buildJsonArray
- createArrayBuilder() - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON array builder.
- createArrayBuilder() - Method in class org.glassfish.json.JsonProviderImpl
- createArrayBuilder(JsonArray) - Static method in class jakarta.json.Json
-
Creates a JSON array builder, initialized with the specified array
- createArrayBuilder(JsonArray) - Method in interface jakarta.json.JsonBuilderFactory
-
Creates a
JsonArrayBuilder
instance, initialized with an array. - createArrayBuilder(JsonArray) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON array builder, initialized with the specified array.
- createArrayBuilder(JsonArray) - Method in class org.glassfish.json.JsonProviderImpl
- createArrayBuilder(Collection<?>) - Static method in class jakarta.json.Json
-
Creates a JSON array builder, initialized with the content of specified
collection
. - createArrayBuilder(Collection<?>) - Method in interface jakarta.json.JsonBuilderFactory
-
Creates a
JsonArrayBuilder
instance, initialized with the content of specified collection. - createArrayBuilder(Collection<?>) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON array builder, initialized with the content of specified
collection
. - createArrayBuilder(Collection<?>) - Method in class org.glassfish.json.JsonProviderImpl
- createBuilderFactory(Map<String, ?>) - Static method in class jakarta.json.Json
-
Creates a builder factory for creating
JsonArrayBuilder
andJsonObjectBuilder
objects. - createBuilderFactory(Map<String, ?>) - Method in class jakarta.json.spi.JsonProvider
-
Creates a builder factory for creating
JsonArrayBuilder
andJsonObjectBuilder
objects. - createBuilderFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- createDiff(JsonStructure, JsonStructure) - Static method in class jakarta.json.Json
-
Generates a JSON Patch (RFC 6902) from the source and target
JsonStructure
. - createDiff(JsonStructure, JsonStructure) - Method in class jakarta.json.spi.JsonProvider
-
Generates a JSON Patch (RFC 6902) from the source and target
JsonStructure
. - createDiff(JsonStructure, JsonStructure) - Method in class org.glassfish.json.JsonProviderImpl
- createGenerator(OutputStream) - Static method in class jakarta.json.Json
-
Creates a JSON generator for writing JSON to a byte stream.
- createGenerator(OutputStream) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON generator for writing JSON text to a byte stream.
- createGenerator(OutputStream) - Method in interface jakarta.json.stream.JsonGeneratorFactory
-
Creates a JSON generator to write JSON text to a byte stream.
- createGenerator(OutputStream) - Method in class org.glassfish.json.JsonProviderImpl
- createGenerator(OutputStream, Charset) - Method in interface jakarta.json.stream.JsonGeneratorFactory
-
Creates a JSON generator to write JSON text to a byte stream.
- createGenerator(Writer) - Static method in class jakarta.json.Json
-
Creates a JSON generator for writing JSON to a character stream.
- createGenerator(Writer) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON generator for writing JSON text to a character stream.
- createGenerator(Writer) - Method in interface jakarta.json.stream.JsonGeneratorFactory
-
Creates a JSON generator to write JSON text to a character stream.
- createGenerator(Writer) - Method in class org.glassfish.json.JsonProviderImpl
- createGeneratorFactory(Map<String, ?>) - Static method in class jakarta.json.Json
-
Creates a generator factory for creating
JsonGenerator
objects. - createGeneratorFactory(Map<String, ?>) - Method in class jakarta.json.spi.JsonProvider
-
Creates a generator factory for creating
JsonGenerator
instances. - createGeneratorFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- createMergeDiff(JsonValue, JsonValue) - Static method in class jakarta.json.Json
-
Generates a JSON Merge Patch (RFC 7396) from the source and target
JsonValue
s which when applied to thesource
, yields thetarget
. - createMergeDiff(JsonValue, JsonValue) - Method in class jakarta.json.spi.JsonProvider
-
Generates a JSON Merge Patch (RFC 7396) from the source and target
JsonValue
s which when applied to thesource
, yields thetarget
. - createMergeDiff(JsonValue, JsonValue) - Method in class org.glassfish.json.JsonProviderImpl
- createMergePatch(JsonValue) - Static method in class jakarta.json.Json
-
Creates JSON Merge Patch (RFC 7396) from specified
JsonValue
. - createMergePatch(JsonValue) - Method in class jakarta.json.spi.JsonProvider
-
Creates JSON Merge Patch (RFC 7396) from specified
JsonValue
. - createMergePatch(JsonValue) - Method in class org.glassfish.json.JsonProviderImpl
- createObjectBuilder() - Static method in class jakarta.json.Json
-
Creates a JSON object builder
- createObjectBuilder() - Method in interface jakarta.json.JsonBuilderFactory
-
Creates a
JsonObjectBuilder
instance that is used to buildJsonObject
. - createObjectBuilder() - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON object builder.
- createObjectBuilder() - Method in class org.glassfish.json.JsonProviderImpl
- createObjectBuilder(JsonObject) - Static method in class jakarta.json.Json
-
Creates a JSON object builder, initialized with the specified object.
- createObjectBuilder(JsonObject) - Method in interface jakarta.json.JsonBuilderFactory
-
Creates a
JsonObjectBuilder
instance, initialized with an object. - createObjectBuilder(JsonObject) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON object builder, initialized with the specified object.
- createObjectBuilder(JsonObject) - Method in class org.glassfish.json.JsonProviderImpl
- createObjectBuilder(Map<String, Object>) - Static method in class jakarta.json.Json
-
Creates a JSON object builder, initialized with the data from specified
map
. - createObjectBuilder(Map<String, Object>) - Method in interface jakarta.json.JsonBuilderFactory
-
Creates a
JsonObjectBuilder
instance, initialized with the specified object. - createObjectBuilder(Map<String, Object>) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON object builder, initialized with the data from specified
map
. - createObjectBuilder(Map<String, Object>) - Method in class org.glassfish.json.JsonProviderImpl
- createParser(JsonArray) - Method in interface jakarta.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified JSON array.
- createParser(JsonObject) - Method in interface jakarta.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified JSON object.
- createParser(InputStream) - Static method in class jakarta.json.Json
-
Creates a JSON parser from a byte stream.
- createParser(InputStream) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON parser from the specified byte stream.
- createParser(InputStream) - Method in interface jakarta.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified byte stream.
- createParser(InputStream) - Method in class org.glassfish.json.JsonProviderImpl
- createParser(InputStream, Charset) - Method in interface jakarta.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified byte stream.
- createParser(Reader) - Static method in class jakarta.json.Json
-
Creates a JSON parser from a character stream.
- createParser(Reader) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON parser from a character stream.
- createParser(Reader) - Method in interface jakarta.json.stream.JsonParserFactory
-
Creates a JSON parser from a character stream.
- createParser(Reader) - Method in class org.glassfish.json.JsonProviderImpl
- createParserFactory(Map<String, ?>) - Static method in class jakarta.json.Json
-
Creates a parser factory for creating
JsonParser
objects. - createParserFactory(Map<String, ?>) - Method in class jakarta.json.spi.JsonProvider
-
Creates a parser factory for creating
JsonParser
instances. - createParserFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- createPatch(JsonArray) - Static method in class jakarta.json.Json
-
Creates a JSON Patch (RFC 6902) from the specified operations.
- createPatch(JsonArray) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON Patch (RFC 6902) from the specified operations.
- createPatch(JsonArray) - Method in class org.glassfish.json.JsonProviderImpl
- createPatchBuilder() - Static method in class jakarta.json.Json
-
Creates a JSON Patch builder (RFC 6902).
- createPatchBuilder() - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON Patch builder (RFC 6902).
- createPatchBuilder() - Method in class org.glassfish.json.JsonProviderImpl
- createPatchBuilder(JsonArray) - Static method in class jakarta.json.Json
-
Creates a JSON Patch builder (RFC 6902), initialized with the specified operations.
- createPatchBuilder(JsonArray) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON Patch builder (RFC 6902), initialized with the specified operations.
- createPatchBuilder(JsonArray) - Method in class org.glassfish.json.JsonProviderImpl
- createPointer(String) - Static method in class jakarta.json.Json
-
Creates JSON Pointer (RFC 6901) from given
jsonPointer
string. - createPointer(String) - Method in class jakarta.json.spi.JsonProvider
-
Creates JSON Pointer (RFC 6901) from given
jsonPointer
string. - createPointer(String) - Method in class org.glassfish.json.JsonProviderImpl
- createReader(InputStream) - Static method in class jakarta.json.Json
-
Creates a JSON reader from a byte stream.
- createReader(InputStream) - Method in interface jakarta.json.JsonReaderFactory
-
Creates a JSON reader from a byte stream.
- createReader(InputStream) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON reader from a byte stream.
- createReader(InputStream) - Method in class org.glassfish.json.JsonProviderImpl
- createReader(InputStream, Charset) - Method in interface jakarta.json.JsonReaderFactory
-
Creates a JSON reader from a byte stream.
- createReader(Reader) - Static method in class jakarta.json.Json
-
Creates a JSON reader from a character stream.
- createReader(Reader) - Method in interface jakarta.json.JsonReaderFactory
-
Creates a JSON reader from a character stream.
- createReader(Reader) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JSON reader from a character stream.
- createReader(Reader) - Method in class org.glassfish.json.JsonProviderImpl
- createReaderFactory(Map<String, ?>) - Static method in class jakarta.json.Json
-
Creates a reader factory for creating
JsonReader
objects. - createReaderFactory(Map<String, ?>) - Method in class jakarta.json.spi.JsonProvider
-
Creates a reader factory for creating
JsonReader
objects. - createReaderFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- createValue(double) - Static method in class jakarta.json.Json
-
Creates a JsonNumber.
- createValue(double) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonNumber.
- createValue(double) - Method in class org.glassfish.json.JsonProviderImpl
- createValue(int) - Static method in class jakarta.json.Json
-
Creates a JsonNumber.
- createValue(int) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonNumber.
- createValue(int) - Method in class org.glassfish.json.JsonProviderImpl
- createValue(long) - Static method in class jakarta.json.Json
-
Creates a JsonNumber.
- createValue(long) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonNumber.
- createValue(long) - Method in class org.glassfish.json.JsonProviderImpl
- createValue(String) - Static method in class jakarta.json.Json
-
Creates a JsonString.
- createValue(String) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonString.
- createValue(String) - Method in class org.glassfish.json.JsonProviderImpl
- createValue(BigDecimal) - Static method in class jakarta.json.Json
-
Creates a JsonNumber.
- createValue(BigDecimal) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonNumber.
- createValue(BigDecimal) - Method in class org.glassfish.json.JsonProviderImpl
- createValue(BigInteger) - Static method in class jakarta.json.Json
-
Creates a JsonNumber.
- createValue(BigInteger) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonNumber.
- createValue(BigInteger) - Method in class org.glassfish.json.JsonProviderImpl
- createWriter(OutputStream) - Static method in class jakarta.json.Json
- createWriter(OutputStream) - Method in interface jakarta.json.JsonWriterFactory
- createWriter(OutputStream) - Method in class jakarta.json.spi.JsonProvider
- createWriter(OutputStream) - Method in class org.glassfish.json.JsonProviderImpl
- createWriter(OutputStream, Charset) - Method in interface jakarta.json.JsonWriterFactory
- createWriter(Writer) - Static method in class jakarta.json.Json
- createWriter(Writer) - Method in interface jakarta.json.JsonWriterFactory
- createWriter(Writer) - Method in class jakarta.json.spi.JsonProvider
- createWriter(Writer) - Method in class org.glassfish.json.JsonProviderImpl
- createWriterFactory(Map<String, ?>) - Static method in class jakarta.json.Json
-
Creates a writer factory for creating
JsonWriter
objects. - createWriterFactory(Map<String, ?>) - Method in class jakarta.json.spi.JsonProvider
-
Creates a writer factory for creating
JsonWriter
objects. - createWriterFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
D
- decodePointer(String) - Static method in class jakarta.json.Json
-
Decodes a passed JSON-pointer string as defined by RFC 6901.
- diff(JsonStructure, JsonStructure) - Static method in class org.glassfish.json.JsonPatchImpl
-
Generates a JSON Patch from the source and target
JsonStructure
. - doubleValue() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as a
double
.
E
- EMPTY_JSON_ARRAY - Static variable in interface jakarta.json.JsonValue
-
The empty JSON array.
- EMPTY_JSON_OBJECT - Static variable in interface jakarta.json.JsonValue
-
The empty JSON object.
- encodePointer(String) - Static method in class jakarta.json.Json
-
Encodes (escapes) a passed string as defined by RFC 6901.
- END_ARRAY - jakarta.json.stream.JsonParser.Event
-
End of a JSON array.
- END_OBJECT - jakarta.json.stream.JsonParser.Event
-
End of a JSON object.
- equals(Object) - Method in interface jakarta.json.JsonNumber
-
Compares the specified object with this
JsonNumber
object for equality. - equals(Object) - Method in interface jakarta.json.JsonString
-
Compares the specified object with this
JsonString
for equality. - equals(Object) - Method in class org.glassfish.json.JsonPatchImpl
-
Compares this
JsonPatchImpl
with another object. - equals(Object) - Method in class org.glassfish.json.JsonPointerImpl
-
Compares this
JsonPointer
with another object.
F
- FALSE - jakarta.json.JsonValue.ValueType
-
JSON false.
- FALSE - Static variable in interface jakarta.json.JsonValue
-
JSON false value.
- flush() - Method in interface jakarta.json.stream.JsonGenerator
-
Flushes the underlying output source.
- fromOperationName(String) - Static method in enum jakarta.json.JsonPatch.Operation
-
Returns the enum constant with the specified name.
G
- getArray() - Method in interface jakarta.json.stream.JsonParser
-
Returns a
JsonArray
and advance the parser to the the correspondingEND_ARRAY
. - getArray() - Method in class org.glassfish.json.JsonParserImpl
- getArrayStream() - Method in interface jakarta.json.stream.JsonParser
-
Returns a stream of the
JsonArray
elements. - getArrayStream() - Method in class org.glassfish.json.JsonParserImpl
- getBigDecimal() - Method in interface jakarta.json.stream.JsonParser
-
Returns a JSON number as a
BigDecimal
. - getBigDecimal() - Method in class org.glassfish.json.JsonParserImpl
- getBoolean(int) - Method in interface jakarta.json.JsonArray
-
Returns the boolean value at the specified position.
- getBoolean(int, boolean) - Method in interface jakarta.json.JsonArray
-
Returns the boolean value at the specified position.
- getBoolean(String) - Method in interface jakarta.json.JsonObject
-
Returns the boolean value of the associated mapping for the specified name.
- getBoolean(String, boolean) - Method in interface jakarta.json.JsonObject
-
Returns the boolean value of the associated mapping for the specified name.
- getChars() - Method in interface jakarta.json.JsonString
-
Returns the char sequence for the JSON String value
- getColumnNumber() - Method in interface jakarta.json.stream.JsonLocation
-
Return the column number (starts with 1 for the first column) for the current JSON event in the input source.
- getConfigInUse() - Method in interface jakarta.json.JsonBuilderFactory
-
Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON builders.
- getConfigInUse() - Method in interface jakarta.json.JsonReaderFactory
-
Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON readers.
- getConfigInUse() - Method in interface jakarta.json.JsonWriterFactory
-
Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON writer objects.
- getConfigInUse() - Method in interface jakarta.json.stream.JsonGeneratorFactory
-
Returns a read-only map of supported provider specific configuration properties that are used to configure the JSON generators.
- getConfigInUse() - Method in interface jakarta.json.stream.JsonParserFactory
-
Returns a read-only map of supported provider specific configuration properties that are used to configure the JSON parsers.
- getInt() - Method in interface jakarta.json.stream.JsonParser
-
Returns a JSON number as an integer.
- getInt() - Method in class org.glassfish.json.JsonParserImpl
- getInt(int) - Method in interface jakarta.json.JsonArray
-
A convenience method for
getJsonNumber(index).intValue()
. - getInt(int, int) - Method in interface jakarta.json.JsonArray
-
Returns the int value of the
JsonNumber
at the specified position. - getInt(String) - Method in interface jakarta.json.JsonObject
-
A convenience method for
getJsonNumber(name).intValue()
- getInt(String, int) - Method in interface jakarta.json.JsonObject
-
Returns the int value of the associated
JsonNumber
mapping for the specified name. - getJsonArray(int) - Method in interface jakarta.json.JsonArray
-
Returns the array value at the specified position in this array.
- getJsonArray(String) - Method in interface jakarta.json.JsonObject
-
Returns the array value to which the specified name is mapped.
- getJsonNumber(int) - Method in interface jakarta.json.JsonArray
-
Returns the number value at the specified position in this array.
- getJsonNumber(String) - Method in interface jakarta.json.JsonObject
-
Returns the number value to which the specified name is mapped.
- getJsonObject(int) - Method in interface jakarta.json.JsonArray
-
Returns the object value at the specified position in this array.
- getJsonObject(String) - Method in interface jakarta.json.JsonObject
-
Returns the object value to which the specified name is mapped.
- getJsonString(int) - Method in interface jakarta.json.JsonArray
-
Returns the string value at ths specified position in this array.
- getJsonString(String) - Method in interface jakarta.json.JsonObject
-
Returns the string value to which the specified name is mapped.
- getLastCharLocation() - Method in class org.glassfish.json.JsonParserImpl
- getLineNumber() - Method in interface jakarta.json.stream.JsonLocation
-
Return the line number (starts with 1 for the first line) for the current JSON event in the input source.
- getLocation() - Method in interface jakarta.json.stream.JsonParser
-
Return the location that corresponds to the parser's current state in the JSON input source.
- getLocation() - Method in exception jakarta.json.stream.JsonParsingException
-
Return the location of the incorrect JSON.
- getLocation() - Method in class org.glassfish.json.JsonParserImpl
- getLong() - Method in interface jakarta.json.stream.JsonParser
-
Returns a JSON number as a long.
- getLong() - Method in class org.glassfish.json.JsonParserImpl
- getObject() - Method in interface jakarta.json.stream.JsonParser
-
Returns a
JsonObject
and advances the parser to the correspondingEND_OBJECT
. - getObject() - Method in class org.glassfish.json.JsonParserImpl
- getObjectStream() - Method in interface jakarta.json.stream.JsonParser
-
Returns a stream of the
JsonObject
's name/value pairs. - getObjectStream() - Method in class org.glassfish.json.JsonParserImpl
- getStreamOffset() - Method in interface jakarta.json.stream.JsonLocation
-
Return the stream offset into the input source this location is pointing to.
- getString() - Method in interface jakarta.json.JsonString
-
Returns the JSON string value.
- getString() - Method in interface jakarta.json.stream.JsonParser
-
Returns a
String
for the name in a name/value pair, for a string value or a number value. - getString() - Method in class org.glassfish.json.JsonParserImpl
- getString(int) - Method in interface jakarta.json.JsonArray
-
A convenience method for
getJsonString(index).getString()
. - getString(int, String) - Method in interface jakarta.json.JsonArray
-
Returns the
String
value ofJsonString
at the specified position in this JSON array values. - getString(String) - Method in interface jakarta.json.JsonObject
-
A convenience method for
getJsonString(name).getString()
- getString(String, String) - Method in interface jakarta.json.JsonObject
-
Returns the string value of the associated
JsonString
mapping for the specified name. - getValue() - Method in interface jakarta.json.stream.JsonParser
-
Returns a
JsonValue
at the current parser position. - getValue() - Method in class org.glassfish.json.JsonParserImpl
- getValue(JsonStructure) - Method in interface jakarta.json.JsonPointer
-
Returns the value at the referenced location in the specified
target
. - getValue(JsonStructure) - Method in class org.glassfish.json.JsonPointerImpl
-
Returns the value at the referenced location in the specified
target
- getValue(String) - Method in interface jakarta.json.JsonStructure
-
Get the value referenced by the provided JSON Pointer in the JsonStructure.
- getValuesAs(Class<T>) - Method in interface jakarta.json.JsonArray
-
Returns a list view of the specified type for the array.
- getValuesAs(Function<K, T>) - Method in interface jakarta.json.JsonArray
-
Returns a list view for the array.
- getValueStream() - Method in interface jakarta.json.stream.JsonParser
-
Returns a stream of
JsonValue
from a sequence of JSON values. - getValueStream() - Method in class org.glassfish.json.JsonParserImpl
- getValueType() - Method in interface jakarta.json.JsonValue
-
Returns the value type of this JSON value.
- groupingBy(Function<JsonValue, String>) - Static method in class jakarta.json.stream.JsonCollectors
-
Constructs a
java.util.stream.Collector
that implements a "group by" operation on the inputJsonValue
elements. - groupingBy(Function<JsonValue, String>, Collector<JsonValue, T, JsonArray>) - Static method in class jakarta.json.stream.JsonCollectors
-
Constructs a
java.util.stream.Collector
that implements a "group by" operation on the inputJsonValue
elements.
H
- hashCode() - Method in interface jakarta.json.JsonNumber
-
Returns the hash code value for this
JsonNumber
object. - hashCode() - Method in interface jakarta.json.JsonString
-
Returns the hash code value for this
JsonString
object. - hashCode() - Method in class org.glassfish.json.JsonPatchImpl
-
Returns the hash code value for this
JsonPatchImpl
. - hashCode() - Method in class org.glassfish.json.JsonPointerImpl
-
Returns the hash code value for this
JsonPointer
object. - hasNext() - Method in interface jakarta.json.stream.JsonParser
-
Returns
true
if there are more parsing states. - hasNext() - Method in class org.glassfish.json.JsonParserImpl
I
- intValue() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as an
int
. - intValueExact() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as an
int
. - isIntegral() - Method in interface jakarta.json.JsonNumber
-
Returns true if this JSON number is a integral number.
- isIntegralNumber() - Method in interface jakarta.json.stream.JsonParser
-
Returns true if the JSON number at the current parser state is a integral number.
- isIntegralNumber() - Method in class org.glassfish.json.JsonParserImpl
- isNull(int) - Method in interface jakarta.json.JsonArray
-
Returns
true
if the value at the specified location in this array isJsonValue.NULL
. - isNull(String) - Method in interface jakarta.json.JsonObject
-
Returns
true
if the associated value for the specified name isJsonValue.NULL
.
J
- jakarta.json - module jakarta.json
-
Jakarta JSON Processing API.
- jakarta.json - package jakarta.json
-
Provides an object model API to process JSON.
- jakarta.json.spi - package jakarta.json.spi
-
Service Provider Interface (SPI) to plug in implementations for JSON processing objects.
- jakarta.json.stream - package jakarta.json.stream
-
Provides a streaming API to parse and generate JSON.
- Json - Class in jakarta.json
-
Factory class for creating JSON processing objects.
- JsonArray - Interface in jakarta.json
-
JsonArray
represents an immutable JSON array (an ordered sequence of zero or more values). - JsonArrayBuilder - Interface in jakarta.json
-
A builder for creating
JsonArray
models from scratch, and for modifying a existingJsonArray
. - JsonBuilderFactory - Interface in jakarta.json
-
Factory to create
JsonObjectBuilder
andJsonArrayBuilder
instances. - JsonCollectors - Class in jakarta.json.stream
-
This class contains some implementations of
java.util.stream.Collector
for accumulatingJsonValue
s intoJsonArray
andJsonObject
. - JsonException - Exception in jakarta.json
-
JsonException
indicates that some exception happened during JSON processing. - JsonException(String) - Constructor for exception jakarta.json.JsonException
-
Constructs a new runtime exception with the specified detail message.
- JsonException(String, Throwable) - Constructor for exception jakarta.json.JsonException
-
Constructs a new runtime exception with the specified detail message and cause.
- JsonGenerationException - Exception in jakarta.json.stream
-
JsonGenerationException
indicates an incorrect JSON is being generated. - JsonGenerationException(String) - Constructor for exception jakarta.json.stream.JsonGenerationException
-
Constructs a new runtime exception with the specified detail message.
- JsonGenerationException(String, Throwable) - Constructor for exception jakarta.json.stream.JsonGenerationException
-
Constructs a new runtime exception with the specified detail message and cause.
- JsonGenerator - Interface in jakarta.json.stream
-
Writes JSON data to an output source in a streaming way.
- JsonGeneratorFactory - Interface in jakarta.json.stream
-
Factory to create
JsonGenerator
instances. - JsonLocation - Interface in jakarta.json.stream
-
Provides the location information of a JSON event in an input source.
- JsonMergePatch - Interface in jakarta.json
-
This interface represents an implementation of a JSON Merge Patch as defined by RFC 7396.
- JsonMergePatchImpl - Class in org.glassfish.json
-
This class is an implementation of a JSON Merge Patch as specified in RFC 7396.
- JsonMergePatchImpl(JsonValue) - Constructor for class org.glassfish.json.JsonMergePatchImpl
- JsonNumber - Interface in jakarta.json
-
An immutable JSON number value.
- JsonObject - Interface in jakarta.json
-
JsonObject
class represents an immutable JSON object value (an unordered collection of zero or more name/value pairs). - JsonObjectBuilder - Interface in jakarta.json
-
A builder for creating
JsonObject
models from scratch. - JsonParser - Interface in jakarta.json.stream
-
Provides forward, read-only access to JSON data in a streaming way.
- JsonParser.Event - Enum in jakarta.json.stream
-
An event from
JsonParser
. - JsonParserFactory - Interface in jakarta.json.stream
-
Factory for creating
JsonParser
instances. - JsonParserImpl - Class in org.glassfish.json
-
JSON parser implementation.
- JsonParserImpl(InputStream, Charset, BufferPool) - Constructor for class org.glassfish.json.JsonParserImpl
- JsonParserImpl(InputStream, BufferPool) - Constructor for class org.glassfish.json.JsonParserImpl
- JsonParserImpl(Reader, BufferPool) - Constructor for class org.glassfish.json.JsonParserImpl
- JsonParsingException - Exception in jakarta.json.stream
-
JsonParsingException
is used when an incorrect JSON is being parsed. - JsonParsingException(String, JsonLocation) - Constructor for exception jakarta.json.stream.JsonParsingException
-
Constructs a new runtime exception with the specified detail message.
- JsonParsingException(String, Throwable, JsonLocation) - Constructor for exception jakarta.json.stream.JsonParsingException
-
Constructs a new runtime exception with the specified detail message and cause.
- JsonPatch - Interface in jakarta.json
-
This interface represents an immutable implementation of a JSON Patch as defined by RFC 6902.
- JsonPatch.Operation - Enum in jakarta.json
-
This enum represents the list of valid JSON Patch operations as defined by RFC 6902.
- JsonPatchBuilder - Interface in jakarta.json
-
A builder for constructing a JSON Patch as defined by RFC 6902 by adding JSON Patch operations incrementally.
- JsonPatchBuilderImpl - Class in org.glassfish.json
-
A builder for constructing a JSON Patch by adding JSON Patch operations incrementally.
- JsonPatchBuilderImpl() - Constructor for class org.glassfish.json.JsonPatchBuilderImpl
-
Creates JsonPatchBuilderImpl with empty JSON Patch
- JsonPatchBuilderImpl(JsonArray) - Constructor for class org.glassfish.json.JsonPatchBuilderImpl
-
Creates a JsonPatchBuilderImpl, starting with the specified JSON Patch
- JsonPatchImpl - Class in org.glassfish.json
-
This class is an immutable representation of a JSON Patch as specified in RFC 6902.
- JsonPatchImpl(JsonArray) - Constructor for class org.glassfish.json.JsonPatchImpl
-
Constructs a JsonPatchImpl
- JsonPointer - Interface in jakarta.json
-
This interface represents an immutable implementation of a JSON Pointer as defined by RFC 6901.
- JsonPointerImpl - Class in org.glassfish.json
-
This class is an immutable representation of a JSON Pointer as specified in RFC 6901.
- JsonPointerImpl(String) - Constructor for class org.glassfish.json.JsonPointerImpl
-
Constructs and initializes a JsonPointerImpl.
- JsonPrettyGeneratorImpl - Class in org.glassfish.json
- JsonPrettyGeneratorImpl(OutputStream, Charset, BufferPool) - Constructor for class org.glassfish.json.JsonPrettyGeneratorImpl
- JsonPrettyGeneratorImpl(OutputStream, BufferPool) - Constructor for class org.glassfish.json.JsonPrettyGeneratorImpl
- JsonPrettyGeneratorImpl(Writer, BufferPool) - Constructor for class org.glassfish.json.JsonPrettyGeneratorImpl
- JsonProvider - Class in jakarta.json.spi
-
Service provider for JSON processing objects.
- JsonProvider() - Constructor for class jakarta.json.spi.JsonProvider
- JsonProviderImpl - Class in org.glassfish.json
- JsonProviderImpl() - Constructor for class org.glassfish.json.JsonProviderImpl
- JsonReader - Interface in jakarta.json
- JsonReaderFactory - Interface in jakarta.json
-
Factory to create
JsonReader
instances. - JsonString - Interface in jakarta.json
-
An immutable JSON string value.
- JsonStructure - Interface in jakarta.json
- JsonUtil - Class in org.glassfish.json
-
A utility class
- JsonValue - Interface in jakarta.json
-
JsonValue
represents an immutable JSON value. - JsonValue.ValueType - Enum in jakarta.json
-
Indicates the type of a
JsonValue
object. - JsonWriter - Interface in jakarta.json
- JsonWriterFactory - Interface in jakarta.json
-
Factory to create
JsonWriter
instances.
K
- KEY_NAME - jakarta.json.stream.JsonParser.Event
-
Name in a name/value pair of a JSON object.
L
- longValue() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as a
long
. - longValueExact() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as a
long
.
M
- MapUtil - Class in org.glassfish.json
-
Util for transforming a Map to a Json objects.
- move(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "move" JSON Patch operation.
- move(String, String) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "move" JSON Patch operation.
- MOVE - jakarta.json.JsonPatch.Operation
-
"move" operation.
N
- next() - Method in interface jakarta.json.stream.JsonParser
-
Returns the event for the next parsing state.
- next() - Method in class org.glassfish.json.JsonParserImpl
- NULL - jakarta.json.JsonValue.ValueType
-
JSON null.
- NULL - Static variable in interface jakarta.json.JsonValue
-
JSON null value.
- NUMBER - jakarta.json.JsonValue.ValueType
-
JSON number.
- numberValue() - Method in interface jakarta.json.JsonNumber
-
Returns this JSON number as a
Number
object.
O
- OBJECT - jakarta.json.JsonValue.ValueType
-
JSON object.
- operationName() - Method in enum jakarta.json.JsonPatch.Operation
-
Returns enum constant name as lower case string.
- org.glassfish.json - package org.glassfish.json
- org.glassfish.json.api - package org.glassfish.json.api
P
- PRETTY_PRINTING - Static variable in interface jakarta.json.stream.JsonGenerator
-
Configuration property to generate JSON prettily.
- provider() - Static method in class jakarta.json.spi.JsonProvider
-
Creates a JSON provider object.
R
- read() - Method in interface jakarta.json.JsonReader
-
Returns a JSON array or object that is represented in the input source.
- readArray() - Method in interface jakarta.json.JsonReader
-
Returns a JSON array that is represented in the input source.
- readObject() - Method in interface jakarta.json.JsonReader
-
Returns a JSON object that is represented in the input source.
- readValue() - Method in interface jakarta.json.JsonReader
-
Returns a JSON value that is represented in the input source.
- recycle(char[]) - Method in interface org.glassfish.json.api.BufferPool
-
Returns an object back to the pool.
- remove(int) - Method in interface jakarta.json.JsonArrayBuilder
-
Remove the value in the array at the specified position.
- remove(JsonStructure) - Method in class org.glassfish.json.JsonPointerImpl
-
Removes the value at the reference location in the specified
target
- remove(String) - Method in interface jakarta.json.JsonObjectBuilder
-
Remove the name/value pair from the JSON object associated with this object builder if it is present.
- remove(String) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "remove" JSON Patch operation.
- remove(String) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "remove" JSON Patch operation.
- remove(T) - Method in interface jakarta.json.JsonPointer
-
Removes the value at the reference location in the specified
target
. - REMOVE - jakarta.json.JsonPatch.Operation
-
"remove" operation.
- replace(JsonStructure, JsonValue) - Method in class org.glassfish.json.JsonPointerImpl
-
Replaces the value at the referenced location in the specified
target
with the specifiedvalue
. - replace(String, boolean) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "replace" JSON Patch operation.
- replace(String, boolean) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "replace" JSON Patch operation.
- replace(String, int) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "replace" JSON Patch operation.
- replace(String, int) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "replace" JSON Patch operation.
- replace(String, JsonValue) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "replace" JSON Patch operation.
- replace(String, JsonValue) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "replace" JSON Patch operation.
- replace(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "replace" JSON Patch operation.
- replace(String, String) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "replace" JSON Patch operation.
- replace(T, JsonValue) - Method in interface jakarta.json.JsonPointer
-
Replaces the value at the referenced location in the specified
target
with the specifiedvalue
. - REPLACE - jakarta.json.JsonPatch.Operation
-
"replace" operation.
S
- set(int, boolean) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with a
JsonValue.TRUE
orJsonValue.FALSE
value at the specified position. - set(int, double) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonNumber
at the specified position. - set(int, int) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonNumber
at the specified position. - set(int, long) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonNumber
at the specified position. - set(int, JsonArrayBuilder) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonArray
from an array builder at the specified position. - set(int, JsonObjectBuilder) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonObject
from an object builder at the specified position. - set(int, JsonValue) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value at the specified position.
- set(int, String) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonString
at the specified position. - set(int, BigDecimal) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonNumber
at the specified position. - set(int, BigInteger) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with the specified value as a
JsonNumber
at the specified position. - setNull(int) - Method in interface jakarta.json.JsonArrayBuilder
-
Replaces a value in the array with a
JsonValue.NULL
value at the specified position. - skipArray() - Method in interface jakarta.json.stream.JsonParser
-
Advance the parser to
END_ARRAY
. - skipArray() - Method in class org.glassfish.json.JsonParserImpl
- skipObject() - Method in interface jakarta.json.stream.JsonParser
-
Advance the parser to
END_OBJECT
. - skipObject() - Method in class org.glassfish.json.JsonParserImpl
- START_ARRAY - jakarta.json.stream.JsonParser.Event
-
Start of a JSON array.
- START_OBJECT - jakarta.json.stream.JsonParser.Event
-
Start of a JSON object.
- STRING - jakarta.json.JsonValue.ValueType
-
JSON string.
T
- take() - Method in interface org.glassfish.json.api.BufferPool
-
Gets a new char[] object from the pool.
- test(String, boolean) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- test(String, boolean) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "test" JSON Patch operation.
- test(String, int) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- test(String, int) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "test" JSON Patch operation.
- test(String, JsonValue) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- test(String, JsonValue) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "test" JSON Patch operation.
- test(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- test(String, String) - Method in class org.glassfish.json.JsonPatchBuilderImpl
-
Adds a "test" JSON Patch operation.
- TEST - jakarta.json.JsonPatch.Operation
-
"test" operation.
- toJson(String) - Static method in class org.glassfish.json.JsonUtil
-
Reads the input JSON text and returns a JsonValue.
- toJsonArray() - Method in interface jakarta.json.JsonPatch
-
Returns the
JsonPatch
asJsonArray
. - toJsonArray() - Static method in class jakarta.json.stream.JsonCollectors
-
Constructs a
java.util.stream.Collector
that accumulates the inputJsonValue
elements into aJsonArray
. - toJsonArray() - Method in class org.glassfish.json.JsonPatchImpl
- toJsonObject() - Static method in class jakarta.json.stream.JsonCollectors
-
Constructs a
java.util.stream.Collector
that accumulates the inputMap.Entry<String,JsonValue>
elements into aJsonObject
. - toJsonObject(Function<JsonValue, String>, Function<JsonValue, JsonValue>) - Static method in class jakarta.json.stream.JsonCollectors
-
Constructs a
java.util.stream.Collector
that accumulates the inputJsonValue
elements into aJsonObject
. - toJsonValue() - Method in interface jakarta.json.JsonMergePatch
-
Returns the
JsonMergePatch
asJsonValue
. - toJsonValue() - Method in class org.glassfish.json.JsonMergePatchImpl
- toString() - Method in interface jakarta.json.JsonNumber
-
Returns a JSON text representation of the JSON number.
- toString() - Method in interface jakarta.json.JsonPointer
-
Returns the string representation of this JSON Pointer.
- toString() - Method in interface jakarta.json.JsonValue
-
Returns JSON text for this JSON value.
- toString() - Method in class org.glassfish.json.JsonPatchImpl
-
Returns the JSON Patch text
- toString() - Method in class org.glassfish.json.JsonPointerImpl
-
Returns the string representation of this JSON Pointer.
- TRUE - jakarta.json.JsonValue.ValueType
-
JSON true.
- TRUE - Static variable in interface jakarta.json.JsonValue
-
JSON true value.
V
- VALUE_FALSE - jakarta.json.stream.JsonParser.Event
-
false
value in a JSON array or object. - VALUE_NULL - jakarta.json.stream.JsonParser.Event
-
null
value in a JSON array or object. - VALUE_NUMBER - jakarta.json.stream.JsonParser.Event
-
Number value in a JSON array or object.
- VALUE_STRING - jakarta.json.stream.JsonParser.Event
-
String value in a JSON array or object.
- VALUE_TRUE - jakarta.json.stream.JsonParser.Event
-
true
value in a JSON array or object. - valueOf(String) - Static method in enum jakarta.json.JsonPatch.Operation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.json.JsonValue.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum jakarta.json.stream.JsonParser.Event
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum jakarta.json.JsonPatch.Operation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.json.JsonValue.ValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum jakarta.json.stream.JsonParser.Event
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(boolean) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON true or false value within the current array, field or root context.
- write(double) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within the current array, field or root context.
- write(int) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within the current array, field or root context.
- write(long) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within the current array, field or root context.
- write(JsonStructure) - Method in interface jakarta.json.JsonWriter
- write(JsonValue) - Method in interface jakarta.json.JsonWriter
-
Writes the specified
JsonValue
to the output source. - write(JsonValue) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the specified value as a JSON value within the current array, field or root context.
- write(String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the specified value as a JSON string value within the current array, field or root context.
- write(String, boolean) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/boolean value pair in the current object context.
- write(String, double) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(String, int) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(String, long) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(String, JsonValue) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/value pair in the current object context.
- write(String, String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/string value pair in the current object context.
- write(String, BigDecimal) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(String, BigInteger) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(BigDecimal) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within the current array, field or root context.
- write(BigInteger) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within the current array, field or root context.
- writeArray(JsonArray) - Method in interface jakarta.json.JsonWriter
-
Writes the specified JSON
array
to the output source. - writeColon() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeComma() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeEnd() - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the end of the current context.
- writeEnd() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeKey(String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON name with a colon.
- writeNull() - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON null value within the current array, field or root context.
- writeNull(String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes a JSON name/null value pair in an current object context.
- writeObject(JsonObject) - Method in interface jakarta.json.JsonWriter
-
Writes the specified JSON
object
to the output source. - writeStartArray() - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON start array character.
- writeStartArray() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeStartArray(String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON name/start array character pair with in the current object context.
- writeStartArray(String) - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeStartObject() - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON start object character.
- writeStartObject() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeStartObject(String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON name/start object character pair in the current object context.
- writeStartObject(String) - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
All Classes All Packages