- close() - Method in interface com.oracle.json.JsonReader
-
Closes this reader and frees any resources associated with the
reader.
- close() - Method in interface com.oracle.json.JsonWriter
-
Closes this JSON writer and frees any resources associated with the
writer.
- close() - Method in interface com.oracle.json.stream.JsonGenerator
-
Closes this generator and frees any resources associated with it.
- close() - Method in interface com.oracle.json.stream.JsonParser
-
Closes this parser and frees any resources associated with the
parser.
- com.oracle.json - package com.oracle.json
-
- com.oracle.json.spi - package com.oracle.json.spi
-
- com.oracle.json.stream - package com.oracle.json.stream
-
- createArrayBuilder() - Static method in class com.oracle.json.Json
-
Creates a JSON array builder
- createArrayBuilder() - Method in interface com.oracle.json.JsonBuilderFactory
-
Creates a
JsonArrayBuilder
instance that is used to build
JsonArray
- createArrayBuilder() - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON array builder
- createBuilderFactory(Map<String, ?>) - Static method in class com.oracle.json.Json
-
- createBuilderFactory(Map<String, ?>) - Method in class com.oracle.json.spi.JsonProvider
-
- createGenerator(Writer) - Static method in class com.oracle.json.Json
-
Creates a JSON generator for writing JSON to a character stream.
- createGenerator(OutputStream) - Static method in class com.oracle.json.Json
-
Creates a JSON generator for writing JSON to a byte stream.
- createGenerator(Writer) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON generator for writing JSON text to a character stream.
- createGenerator(OutputStream) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON generator for writing JSON text to a byte stream.
- createGenerator(Writer) - Method in interface com.oracle.json.stream.JsonGeneratorFactory
-
Creates a JSON generator to write JSON text to a character stream.
- createGenerator(OutputStream) - Method in interface com.oracle.json.stream.JsonGeneratorFactory
-
Creates a JSON generator to write JSON text to a byte stream.
- createGenerator(OutputStream, String) - Method in interface com.oracle.json.stream.JsonGeneratorFactory
-
Creates a JSON generator to write JSON text to a byte stream.
- createGeneratorFactory(Map<String, ?>) - Static method in class com.oracle.json.Json
-
- createGeneratorFactory(Map<String, ?>) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a generator factory for creating
JsonGenerator
instances.
- createObjectBuilder() - Static method in class com.oracle.json.Json
-
Creates a JSON object builder
- createObjectBuilder() - Method in interface com.oracle.json.JsonBuilderFactory
-
Creates a
JsonObjectBuilder
instance that is used to build
JsonObject
.
- createObjectBuilder() - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON object builder
- createParser(Reader) - Static method in class com.oracle.json.Json
-
Creates a JSON parser from a character stream.
- createParser(InputStream) - Static method in class com.oracle.json.Json
-
Creates a JSON parser from a byte stream.
- createParser(Reader) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON parser from a character stream.
- createParser(InputStream) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON parser from the specified byte stream.
- createParser(Reader) - Method in interface com.oracle.json.stream.JsonParserFactory
-
Creates a JSON parser from a character stream.
- createParser(InputStream) - Method in interface com.oracle.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified byte stream.
- createParser(InputStream, String) - Method in interface com.oracle.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified byte stream.
- createParser(JsonObject) - Method in interface com.oracle.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified JSON object.
- createParser(JsonArray) - Method in interface com.oracle.json.stream.JsonParserFactory
-
Creates a JSON parser from the specified JSON array.
- createParserFactory(Map<String, ?>) - Static method in class com.oracle.json.Json
-
Creates a parser factory for creating
JsonParser
objects.
- createParserFactory(Map<String, ?>) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a parser factory for creating
JsonParser
instances.
- createReader(Reader) - Static method in class com.oracle.json.Json
-
Creates a JSON reader from a character stream.
- createReader(InputStream) - Static method in class com.oracle.json.Json
-
Creates a JSON reader from a byte stream.
- createReader(Reader) - Method in interface com.oracle.json.JsonReaderFactory
-
Creates a JSON reader from a character stream.
- createReader(InputStream) - Method in interface com.oracle.json.JsonReaderFactory
-
Creates a JSON reader from a byte stream.
- createReader(InputStream, String) - Method in interface com.oracle.json.JsonReaderFactory
-
Creates a JSON reader from a byte stream.
- createReader(Reader) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON reader from a character stream.
- createReader(InputStream) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON reader from a byte stream.
- createReaderFactory(Map<String, ?>) - Static method in class com.oracle.json.Json
-
Creates a reader factory for creating
JsonReader
objects.
- createReaderFactory(Map<String, ?>) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a reader factory for creating
JsonReader
objects.
- createWriter(Writer) - Static method in class com.oracle.json.Json
-
Creates a JSON writer to write a
JSON
object
or
array
structure to the specified character stream.
- createWriter(OutputStream) - Static method in class com.oracle.json.Json
-
Creates a JSON writer to write a
JSON
object
or
array
structure to the specified byte stream.
- createWriter(Writer) - Method in interface com.oracle.json.JsonWriterFactory
-
Creates a JSON writer to write a JSON
object
or
array
structure to the specified character stream.
- createWriter(OutputStream) - Method in interface com.oracle.json.JsonWriterFactory
-
Creates a JSON writer to write a JSON
object
or
array
structure to the specified byte stream.
- createWriter(OutputStream, String) - Method in interface com.oracle.json.JsonWriterFactory
-
Creates a JSON writer to write a JSON
object
or
array
structure to the specified byte stream.
- createWriter(Writer) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON writer to write a
JSON
object
or
array
structure to the specified character stream.
- createWriter(OutputStream) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a JSON writer to write a
JSON
object
or
array
structure to the specified byte stream.
- createWriterFactory(Map<String, ?>) - Static method in class com.oracle.json.Json
-
Creates a writer factory for creating
JsonWriter
objects.
- createWriterFactory(Map<String, ?>) - Method in class com.oracle.json.spi.JsonProvider
-
Creates a writer factory for creating
JsonWriter
objects.
- getBoolean(int) - Method in interface com.oracle.json.JsonArray
-
Returns the boolean value at the specified position.
- getBoolean(int, boolean) - Method in interface com.oracle.json.JsonArray
-
Returns the boolean value at the specified position.
- getBoolean(String) - Method in interface com.oracle.json.JsonObject
-
Returns the boolean value of the associated mapping for the specified
name.
- getBoolean(String, boolean) - Method in interface com.oracle.json.JsonObject
-
Returns the boolean value of the associated mapping for the specified
name.
- getChars() - Method in interface com.oracle.json.JsonString
-
Returns the char sequence for the JSON String value
- getColumnNumber() - Method in interface com.oracle.json.stream.JsonLocation
-
Return the column number for the current JSON event in the input source.
- getConfigInUse() - Method in interface com.oracle.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 com.oracle.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 com.oracle.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 com.oracle.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 com.oracle.json.stream.JsonParserFactory
-
Returns a read-only map of supported provider specific configuration
properties that are used to configure the JSON parsers.
- getInt(int) - Method in interface com.oracle.json.JsonArray
-
A convenience method for
getJsonNumber(index).intValue()
.
- getInt(int, int) - Method in interface com.oracle.json.JsonArray
-
Returns the int value of the JsonNumber
at the specified position.
- getInt(String) - Method in interface com.oracle.json.JsonObject
-
A convenience method for
getJsonNumber(name).intValue()
- getInt(String, int) - Method in interface com.oracle.json.JsonObject
-
Returns the int value of the associated JsonNumber
mapping
for the specified name.
- getInt() - Method in interface com.oracle.json.stream.JsonParser
-
Returns a JSON number as an integer.
- getJsonArray(int) - Method in interface com.oracle.json.JsonArray
-
Returns the array value at the specified position in this array.
- getJsonArray(String) - Method in interface com.oracle.json.JsonObject
-
Returns the array value to which the specified name is mapped.
- getJsonNumber(int) - Method in interface com.oracle.json.JsonArray
-
Returns the number value at the specified position in this array.
- getJsonNumber(String) - Method in interface com.oracle.json.JsonObject
-
Returns the number value to which the specified name is mapped.
- getJsonObject(int) - Method in interface com.oracle.json.JsonArray
-
Returns the object value at the specified position in this array.
- getJsonObject(String) - Method in interface com.oracle.json.JsonObject
-
Returns the object value to which the specified name is mapped.
- getJsonString(int) - Method in interface com.oracle.json.JsonArray
-
Returns the string value at ths specified position in this array.
- getJsonString(String) - Method in interface com.oracle.json.JsonObject
-
Returns the string value to which the specified name is mapped.
- getLineNumber() - Method in interface com.oracle.json.stream.JsonLocation
-
Return the line number for the current JSON event in the input source.
- getLocation() - Method in interface com.oracle.json.stream.JsonParser
-
Return the location that corresponds to the parser's current state in
the JSON input source.
- getLocation() - Method in exception com.oracle.json.stream.JsonParsingException
-
Return the location of the incorrect JSON.
- getLong() - Method in interface com.oracle.json.stream.JsonParser
-
Returns a JSON number as a long.
- getStreamOffset() - Method in interface com.oracle.json.stream.JsonLocation
-
Return the stream offset into the input source this location
is pointing to.
- getString(int) - Method in interface com.oracle.json.JsonArray
-
A convenience method for
getJsonString(index).getString()
.
- getString(int, String) - Method in interface com.oracle.json.JsonArray
-
Returns the String
value of JsonString
at the specified
position in this JSON array values.
- getString(String) - Method in interface com.oracle.json.JsonObject
-
A convenience method for
getJsonString(name).getString()
- getString(String, String) - Method in interface com.oracle.json.JsonObject
-
Returns the string value of the associated JsonString
mapping
for the specified name.
- getString() - Method in interface com.oracle.json.JsonString
-
Returns the JSON string value.
- getString() - Method in interface com.oracle.json.stream.JsonParser
-
Returns a String
for the name in a name/value pair,
for a string value or a number value.
- getValuesAs(Class<T>) - Method in interface com.oracle.json.JsonArray
-
Returns a list a view of the specified type for the array.
- getValueType() - Method in interface com.oracle.json.JsonValue
-
Returns the value type of this JSON value.
- Json - Class in com.oracle.json
-
Factory class for creating JSON processing objects.
- JsonArray - Interface in com.oracle.json
-
JsonArray
represents an immutable JSON array
(an ordered sequence of zero or more values).
- JsonArrayBuilder - Interface in com.oracle.json
-
A builder for creating
JsonArray
models from scratch.
- JsonBuilderFactory - Interface in com.oracle.json
-
- JsonException - Exception in com.oracle.json
-
JsonException
indicates that some exception happened during
JSON processing.
- JsonException(String) - Constructor for exception com.oracle.json.JsonException
-
Constructs a new runtime exception with the specified detail message.
- JsonException(String, Throwable) - Constructor for exception com.oracle.json.JsonException
-
Constructs a new runtime exception with the specified detail message and
cause.
- JsonGenerationException - Exception in com.oracle.json.stream
-
JsonGenerationException
indicates an incorrect JSON is
being generated.
- JsonGenerationException(String) - Constructor for exception com.oracle.json.stream.JsonGenerationException
-
Constructs a new runtime exception with the specified detail message.
- JsonGenerationException(String, Throwable) - Constructor for exception com.oracle.json.stream.JsonGenerationException
-
Constructs a new runtime exception with the specified detail message and
cause.
- JsonGenerator - Interface in com.oracle.json.stream
-
Writes JSON data to an output source in a streaming way.
- JsonGeneratorFactory - Interface in com.oracle.json.stream
-
- JsonLocation - Interface in com.oracle.json.stream
-
Provides the location information of a JSON event in an input source.
- JsonNumber - Interface in com.oracle.json
-
An immutable JSON number value.
- JsonObject - Interface in com.oracle.json
-
JsonObject
class represents an immutable JSON object value
(an unordered collection of zero or more name/value pairs).
- JsonObjectBuilder - Interface in com.oracle.json
-
A builder for creating
JsonObject
models from scratch.
- JsonParser - Interface in com.oracle.json.stream
-
Provides forward, read-only access to JSON data in a streaming way.
- JsonParser.Event - Enum in com.oracle.json.stream
-
An event from JsonParser
.
- JsonParserFactory - Interface in com.oracle.json.stream
-
- JsonParsingException - Exception in com.oracle.json.stream
-
JsonParsingException
is used when an incorrect JSON is
being parsed.
- JsonParsingException(String, JsonLocation) - Constructor for exception com.oracle.json.stream.JsonParsingException
-
Constructs a new runtime exception with the specified detail message.
- JsonParsingException(String, Throwable, JsonLocation) - Constructor for exception com.oracle.json.stream.JsonParsingException
-
Constructs a new runtime exception with the specified detail message and
cause.
- JsonProvider - Class in com.oracle.json.spi
-
Service provider for JSON processing objects.
- JsonProvider() - Constructor for class com.oracle.json.spi.JsonProvider
-
- JsonReader - Interface in com.oracle.json
-
Reads a JSON
object
or an
array
structure from an input source.
- JsonReaderFactory - Interface in com.oracle.json
-
- JsonString - Interface in com.oracle.json
-
An immutable JSON string value.
- JsonStructure - Interface in com.oracle.json
-
Super type for the two structured types in JSON (
object
s
and
array
s).
- JsonValue - Interface in com.oracle.json
-
JsonValue
represents an immutable JSON value.
- JsonValue.ValueType - Enum in com.oracle.json
-
- JsonWriter - Interface in com.oracle.json
-
Writes a JSON
object
or
array
structure
to an output source.
- JsonWriterFactory - Interface in com.oracle.json
-
- write(JsonStructure) - Method in interface com.oracle.json.JsonWriter
-
Writes the specified JSON
object
or
array
to the output source.
- write(String, JsonValue) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON name/value pair in the current object context.
- write(String, String) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON name/string value pair in the current object context.
- write(String, int) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(String, long) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(String, double) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON name/number value pair in the current object context.
- write(String, boolean) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON name/boolean value pair in the current object context.
- write(JsonValue) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the specified value as a JSON value within
the current array context.
- write(String) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the specified value as a JSON string value within
the current array context.
- write(int) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within
the current array context.
- write(long) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within
the current array context.
- write(double) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the specified value as a JSON number value within the current
array context.
- write(boolean) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON true or false value within the current array context.
- writeArray(JsonArray) - Method in interface com.oracle.json.JsonWriter
-
Writes the specified JSON
array
to the output
source.
- writeEnd() - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the end of the current context.
- writeNull(String) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON name/null value pair in an current object context.
- writeNull() - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes a JSON null value within the current array context.
- writeObject(JsonObject) - Method in interface com.oracle.json.JsonWriter
-
Writes the specified JSON
object
to the output
source.
- writeStartArray() - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the JSON start array character.
- writeStartArray(String) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the JSON name/start array character pair with in the current
object context.
- writeStartObject() - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the JSON start object character.
- writeStartObject(String) - Method in interface com.oracle.json.stream.JsonGenerator
-
Writes the JSON name/start object character pair in the current
object context.