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(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, 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, 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, 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, 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(JsonValue) - Method in interface jakarta.json.JsonMergePatch
-
Applies the JSON Merge Patch to the specified
target
. - apply(T) - Method in interface jakarta.json.JsonPatch
-
Applies the patch operations to the specified
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. - 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.
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.
- containsValue(JsonStructure) - Method in interface jakarta.json.JsonPointer
-
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 - 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(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(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
. - 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. - 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
. - 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, 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.
- 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. - 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
. - 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
. - 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(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(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
. - 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, 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.
- 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. - 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.
- 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(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.
- 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. - 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, 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.
- 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. - 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(int) - Static method in class jakarta.json.Json
-
Creates a JsonNumber.
- createValue(int) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonNumber.
- 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(String) - Static method in class jakarta.json.Json
-
Creates a JsonString.
- createValue(String) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonString.
- 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(BigInteger) - Static method in class jakarta.json.Json
-
Creates a JsonNumber.
- createValue(BigInteger) - Method in class jakarta.json.spi.JsonProvider
-
Creates a JsonNumber.
- 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, 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
- 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.
D
- decodePointer(String) - Static method in class jakarta.json.Json
-
Decodes a passed JSON-pointer string as defined by RFC 6901.
- 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.
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
. - getArrayStream() - Method in interface jakarta.json.stream.JsonParser
-
Returns a stream of the
JsonArray
elements. - getBigDecimal() - Method in interface jakarta.json.stream.JsonParser
-
Returns a JSON number as a
BigDecimal
. - 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(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.
- 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.
- getLong() - Method in interface jakarta.json.stream.JsonParser
-
Returns a JSON number as a long.
- getObject() - Method in interface jakarta.json.stream.JsonParser
-
Returns a
JsonObject
and advances the parser to the correspondingEND_OBJECT
. - getObjectStream() - Method in interface jakarta.json.stream.JsonParser
-
Returns a stream of the
JsonObject
's name/value pairs. - 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(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(JsonStructure) - Method in interface jakarta.json.JsonPointer
-
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. - 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. - hasNext() - Method in interface jakarta.json.stream.JsonParser
-
Returns
true
if there are more parsing states.
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.
- 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.
- 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. - 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.
- JsonPointer - Interface in jakarta.json
-
This interface represents an immutable implementation of a JSON Pointer as defined by RFC 6901.
- JsonProvider - Class in jakarta.json.spi
-
Service provider for JSON processing objects.
- JsonProvider() - Constructor for class jakarta.json.spi.JsonProvider
- 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
- 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
- move(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
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.
- 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.
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.
- remove(int) - Method in interface jakarta.json.JsonArrayBuilder
-
Remove the value in the array at the specified position.
- 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(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(String, boolean) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "replace" JSON Patch operation.
- replace(String, int) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "replace" JSON Patch operation.
- replace(String, JsonValue) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "replace" JSON Patch operation.
- replace(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
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
. - skipObject() - Method in interface jakarta.json.stream.JsonParser
-
Advance the parser to
END_OBJECT
. - 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
- test(String, boolean) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- test(String, int) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- test(String, JsonValue) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- test(String, String) - Method in interface jakarta.json.JsonPatchBuilder
-
Adds a "test" JSON Patch operation.
- TEST - jakarta.json.JsonPatch.Operation
-
"test" operation.
- 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
. - 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
. - 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.
- 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. - writeEnd() - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the end of the current context.
- 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(String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON name/start array character pair with in the current object context.
- writeStartObject() - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON start object character.
- writeStartObject(String) - Method in interface jakarta.json.stream.JsonGenerator
-
Writes the JSON name/start object character pair in the current object context.
All Classes All Packages