- add(JsonValue) - Method in class javax.json.JsonArrayBuilder
-
Adds the specified value to the array that is being built.
- add(String) - Method in class javax.json.JsonArrayBuilder
-
Adds the specified value as a JSON string value to the array
that is being built.
- add(BigDecimal) - Method in class javax.json.JsonArrayBuilder
-
Adds the specified value as a JSON number value to the array
that is being built.
- add(BigInteger) - Method in class javax.json.JsonArrayBuilder
-
Adds the specified value as a JSON number value to the array
that is being built.
- add(int) - Method in class javax.json.JsonArrayBuilder
-
Adds the specified value as a JSON number value to the array
that is being built.
- add(long) - Method in class javax.json.JsonArrayBuilder
-
Adds the specified value as a JSON number value to the array
that is being built.
- add(double) - Method in class javax.json.JsonArrayBuilder
-
Adds the specified value as a JSON number value to the array
that is being built.
- add(boolean) - Method in class javax.json.JsonArrayBuilder
-
Adds a JSON true or false value to the array that is being built.
- add(JsonObjectBuilder) - Method in class javax.json.JsonArrayBuilder
-
Adds a JsonObject from the specified builder to the array that
is being built.
- add(JsonArrayBuilder) - Method in class javax.json.JsonArrayBuilder
-
Adds a JsonArray from the specified builder to the array that
is being built.
- add(String, JsonValue) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, String) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, BigInteger) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, BigDecimal) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, int) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, long) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, double) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, boolean) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- add(String, JsonObjectBuilder) - Method in class javax.json.JsonObjectBuilder
-
Associates the JsonObject from the specified builder with the
specified name in the JSON object that is being built.
- add(String, JsonArrayBuilder) - Method in class javax.json.JsonObjectBuilder
-
Associates the JSON array from the specified builder with the
specified name in the JSON object that is being built.
- addNull() - Method in class javax.json.JsonArrayBuilder
-
Adds a JSON null value to the array that is being built.
- addNull(String) - Method in class javax.json.JsonObjectBuilder
-
Associates the specified value with the specified name in the
JSON object that is being built.
- close() - Method in class javax.json.JsonReader
-
Closes this reader and frees any resources associated with the
reader.
- close() - Method in class javax.json.JsonWriter
-
Closes this JSON writer and frees any resources associated with the
writer.
- close() - Method in interface javax.json.stream.JsonGenerator
-
Closes this generator and frees any resources associated with the
generator.
- close() - Method in interface javax.json.stream.JsonParser
-
Closes this parser and frees any resources associated with the
parser.
- createGenerator(Writer) - Static method in class javax.json.Json
-
Creates a JSON generator which can be used to write JSON text to the
specified character stream.
- createGenerator(OutputStream) - Static method in class javax.json.Json
-
Creates a JSON generator which can be used to write JSON text to the
specified byte stream.
- createGenerator(Writer) - Method in class javax.json.spi.JsonProvider
-
Creates a JSON generator which can be used to write JSON text to the
specified character stream.
- createGenerator(OutputStream) - Method in class javax.json.spi.JsonProvider
-
Creates a JSON generator which can be used to write JSON text to the
specified byte stream.
- createGenerator(Writer) - Method in interface javax.json.stream.JsonGeneratorFactory
-
Creates a JSON generator which can be used to write JSON text to the
specified character stream.
- createGenerator(OutputStream) - Method in interface javax.json.stream.JsonGeneratorFactory
-
Creates a JSON generator which can be used to write JSON text to the
specified byte stream.
- createGenerator(OutputStream, Charset) - Method in interface javax.json.stream.JsonGeneratorFactory
-
Creates a JSON generator which can be used to write JSON text to the
specified byte stream.
- createGeneratorFactory() - Static method in class javax.json.Json
-
Creates a generator factory which can be used to create
JsonGenerator
.
- createGeneratorFactory(JsonConfiguration) - Static method in class javax.json.Json
-
Creates a generator factory which can be used to create
JsonGenerator
.
- createGeneratorFactory() - Method in class javax.json.spi.JsonProvider
-
Creates a generator factory which can be used to create
JsonGenerator
.
- createGeneratorFactory(JsonConfiguration) - Method in class javax.json.spi.JsonProvider
-
Creates a generator factory which can be used to create
JsonGenerator
.
- createParser(Reader) - Static method in class javax.json.Json
-
Creates a JSON parser from the specified character stream
- createParser(InputStream) - Static method in class javax.json.Json
-
Creates a JSON parser from the specified byte stream.
- createParser(Reader) - Method in class javax.json.spi.JsonProvider
-
Creates a JSON parser from the specified character stream
- createParser(InputStream) - Method in class javax.json.spi.JsonProvider
-
Creates a JSON parser from the specified byte stream.
- createParser(Reader) - Method in interface javax.json.stream.JsonParserFactory
-
Creates a JSON parser from a character 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(JsonObject) - Method in interface javax.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified JSON object.
- createParser(JsonArray) - Method in interface javax.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified JSON array.
- createParserFactory() - Static method in class javax.json.Json
-
Creates a parser factory which can be used to create
JsonParser
.
- createParserFactory(JsonConfiguration) - Static method in class javax.json.Json
-
Creates a parser factory which can be used to create
JsonParser
.
- createParserFactory() - Method in class javax.json.spi.JsonProvider
-
Creates a parser factory which can be used to create
JsonParser
.
- createParserFactory(JsonConfiguration) - Method in class javax.json.spi.JsonProvider
-
Creates a parser factory which can be used to create
JsonParser
.
- getBigDecimalValue() - Method in interface javax.json.JsonNumber
-
- getBigDecimalValue() - Method in interface javax.json.stream.JsonParser
-
Returns JSON number as a BigDecimal
.
- getBigIntegerValue() - Method in interface javax.json.JsonNumber
-
- getBigIntegerValueExact() - Method in interface javax.json.JsonNumber
-
- getChars() - Method in interface javax.json.JsonString
-
Returns the char sequence for the JSON String value
- getDoubleValue() - Method in interface javax.json.JsonNumber
-
Returns JSON number as a double
number.
- getFeatures() - Method in class javax.json.JsonConfiguration
-
Returns a
Iterable
for features in this configuration.
- getIntValue(int) - Method in interface javax.json.JsonArray
-
A Convenience method for
getValue(index, JsonNumber.class).getIntValue()
- getIntValue() - Method in interface javax.json.JsonNumber
-
Returns JSON number as an int
number.
- getIntValue(String) - Method in interface javax.json.JsonObject
-
A convenience method for
getValue(name, JsonNumber.class).getIntValue()
- getIntValue() - Method in interface javax.json.stream.JsonParser
-
Returns JSON number as an integer.
- getIntValueExact() - Method in interface javax.json.JsonNumber
-
Returns JSON number as an int
number.
- getLongValue() - Method in interface javax.json.JsonNumber
-
Returns JSON number as a long
number.
- getLongValue() - Method in interface javax.json.stream.JsonParser
-
Returns JSON number as a long.
- getLongValueExact() - Method in interface javax.json.JsonNumber
-
Returns JSON number as a long
number.
- getNumberType() - Method in interface javax.json.JsonNumber
-
Returns a JSON number type for this number.
- getNumberType() - Method in interface javax.json.stream.JsonParser
-
Returns a JSON number type for this number.
- getString() - Method in interface javax.json.stream.JsonParser
-
Returns a String for name(key), string value and number value.
- getStringValue(int) - Method in interface javax.json.JsonArray
-
A convenience method for
getValue(index, JsonString.class).getValue()
- getStringValue(String) - Method in interface javax.json.JsonObject
-
A convenience method for
getValue(name, JsonString.class).getValue()
- getValue(int, Class<T>) - Method in interface javax.json.JsonArray
-
Returns the value at the specified position in this JSON array values.
- getValue(String, Class<T>) - Method in interface javax.json.JsonObject
-
Returns the value to which the specified name is mapped.
- getValue() - Method in interface javax.json.JsonString
-
Returns the JSON string value
- getValueType() - Method in interface javax.json.JsonValue
-
Returns the value type of this JSON value
- javax.json - package javax.json
-
Java API for JSON Processing API provides a way to process
(for e.g.
- javax.json.spi - package javax.json.spi
-
- javax.json.stream - package javax.json.stream
-
Provides a streaming API to parse and generate
JSON.
- Json - Class in javax.json
-
- JsonArray - Interface in javax.json
-
JsonArray
class represents an immutable JSON array value
(an ordered sequence of zero or more values).
- JsonArrayBuilder - Class in javax.json
-
- JsonArrayBuilder() - Constructor for class javax.json.JsonArrayBuilder
-
Constructs a JsonArrayBuilder
that initializes an empty JSON
array that is being built.
- JsonConfiguration - Class in javax.json
-
JSON configuration is a set features that is used to configure the
behaviour of parsing and generation of JSON.
- JsonConfiguration() - Constructor for class javax.json.JsonConfiguration
-
- JsonException - Exception in javax.json
-
JsonException
indicates some exception happened during
JSON processing.
- JsonException() - Constructor for exception javax.json.JsonException
-
Constructs a new runtime exception with null
as its
detail message.
- 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.
- JsonException(Throwable) - Constructor for exception javax.json.JsonException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- JsonFeature - Interface in javax.json
-
JSON feature configures the behaviour of parsing and generation of JSON.
- JsonGenerationException - Exception in javax.json.stream
-
JsonGenerationException
indicates an incorrect JSON is
being generated.
- JsonGenerationException() - Constructor for exception javax.json.stream.JsonGenerationException
-
Constructs a new runtime exception with null
as its
detail message.
- 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.
- JsonGenerationException(Throwable) - Constructor for exception javax.json.stream.JsonGenerationException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- JsonGenerator - Interface in javax.json.stream
-
A JSON generator that writes JSON in a streaming way.
- JsonGeneratorFactory - Interface in javax.json.stream
-
- JsonNumber - Interface in javax.json
-
JsonNumber
represents an immutable JSON number value
- JsonNumber.NumberType - Enum in javax.json
-
JSON number type that is used to find out if a number is numerically
integer or a decimal.
- JsonObject - Interface in javax.json
-
JsonObject
class represents an immutable JSON object value
(an unordered collection of zero or more name/value pairs).
- JsonObjectBuilder - Class in javax.json
-
- JsonObjectBuilder() - Constructor for class javax.json.JsonObjectBuilder
-
Constructs a JsonObjectBuilder
that initializes an empty JSON
object that is being built.
- JsonParser - Interface in javax.json.stream
-
A JSON parser that allows forward, read-only access to JSON in a
a streaming way.
- JsonParser.Event - Enum in javax.json.stream
-
Event for parser state while parsing the JSON
- JsonParserFactory - Interface in javax.json.stream
-
- JsonParsingException - Exception in javax.json.stream
-
JsonParsingException
is used when an incorrect JSON is
being parsed.
- JsonParsingException() - Constructor for exception javax.json.stream.JsonParsingException
-
Constructs a new runtime exception with null
as its
detail message.
- JsonParsingException(String) - Constructor for exception javax.json.stream.JsonParsingException
-
Constructs a new runtime exception with the specified detail message.
- JsonParsingException(String, Throwable) - Constructor for exception javax.json.stream.JsonParsingException
-
Constructs a new runtime exception with the specified detail message and
cause.
- JsonParsingException(Throwable) - Constructor for exception javax.json.stream.JsonParsingException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- JsonProvider - Class in javax.json.spi
-
Service provider for JSON objects.
- JsonProvider() - Constructor for class javax.json.spi.JsonProvider
-
- JsonReader - Class in javax.json
-
A JSON reader that reads a JSON
object
or
array
from an input source.
- JsonReader(Reader) - Constructor for class javax.json.JsonReader
-
Creates a JSON reader from a character stream
- JsonReader(Reader, JsonConfiguration) - Constructor for class javax.json.JsonReader
-
Creates a JSON reader from a character stream
- JsonReader(InputStream) - Constructor for class javax.json.JsonReader
-
Creates a JSON reader from a byte stream.
- JsonReader(InputStream, Charset) - Constructor for class javax.json.JsonReader
-
Creates a JSON reader from a byte stream.
- JsonReader(InputStream, Charset, JsonConfiguration) - Constructor for class javax.json.JsonReader
-
Creates a JSON reader from a byte stream.
- JsonString - Interface in javax.json
-
JsonString
represents an immutable JSON string value.
- JsonStructure - Interface in javax.json
-
Super type for JSON's two structured types (
object
s
and
array
s).
- JsonValue - Interface in javax.json
-
JsonValue
represents a JSON value.
- JsonValue.ValueType - Enum in javax.json
-
JSON value type
- JsonWriter - Class in javax.json
-
A JSON writer that writes a JSON
object
or
array
structure to an output source.
- JsonWriter(Writer) - Constructor for class javax.json.JsonWriter
-
Creates a JSON writer which can be used to write a
JSON
object
or
array
structure to the specified character stream.
- JsonWriter(Writer, JsonConfiguration) - Constructor for class javax.json.JsonWriter
-
Creates a JSON writer which can be used to write a
JSON
object
or
array
structure to the specified character stream.
- JsonWriter(OutputStream) - Constructor for class javax.json.JsonWriter
-
Creates a JSON writer which can be used to write a
JSON
object
or
array
structure to the specified byte stream.
- JsonWriter(OutputStream, JsonConfiguration) - Constructor for class javax.json.JsonWriter
-
Creates a JSON writer which can be used to write a
JSON
object
or
array
structure to the specified byte stream.
- JsonWriter(OutputStream, Charset) - Constructor for class javax.json.JsonWriter
-
Creates a JSON writer which can be used to write a
JSON
object
or
array
structure to the specified byte stream.
- JsonWriter(OutputStream, Charset, JsonConfiguration) - Constructor for class javax.json.JsonWriter
-
Creates a JSON writer which can be used to write a
JSON
object
or
array
structure to the specified byte stream.
- with(JsonFeature) - Method in class javax.json.JsonConfiguration
-
Adds a
feature
to this configuration
- withPrettyPrinting() - Method in class javax.json.JsonConfiguration
-
- write(JsonStructure) - Method in class javax.json.JsonWriter
-
Writes the specified JSON
object
or
array
to the output source.
- write(String, JsonValue) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/value pair with in the current object context.
- write(String, String) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/string value pair with in the current object context.
- write(String, BigInteger) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/number value pair with in the current object context.
- write(String, BigDecimal) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/number value pair with in the current object context.
- write(String, int) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/number value pair with in the current object context.
- write(String, long) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/number value pair with in the current object context.
- write(String, double) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/number value pair with in the current object context.
- write(String, boolean) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/boolean value pair with in the current object context.
- write(JsonValue) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON value within
the current array context.
- write(String) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON string value within
the current array context.
- write(BigDecimal) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within
the current array context.
- write(BigInteger) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within
the current array context.
- write(int) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within
the current array context.
- write(long) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within
the current array context.
- write(double) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within the current
array context.The BigDecimal.valueOf(value).toString()
is used as the text value for writing.
- write(boolean) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON true or false value within the current array context.
- writeArray(JsonArray) - Method in class javax.json.JsonWriter
-
Writes the specified JSON
array
to the output
source.
- writeEnd() - Method in interface javax.json.stream.JsonGenerator
-
Indicates the writeEnd of the current context.
- writeNull(String) - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON name/null value pair with in an current object context.
- writeNull() - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON null value within the current array context.
- writeObject(JsonObject) - Method in class 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 with in the current
object context.