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