A B C D E F G H I J K L 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(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, 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, 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, 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(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.
- addNull() - Method in interface javax.json.JsonArrayBuilder
-
Adds a
JsonValue.NULL
value to the array. - 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
. - ARRAY - javax.json.JsonValue.ValueType
-
JSON array.
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
BigDecimal
object. - BufferPool - Interface in org.glassfish.json.api
-
char[] pool that pool instances of char[] which are expensive to create.
- 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.
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
-
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 it.
- close() - Method in interface javax.json.stream.JsonParser
-
Closes this parser and frees any resources associated with the parser.
- close() - Method in class org.glassfish.json.JsonParserImpl
- 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() - Method in class org.glassfish.json.JsonProviderImpl
- 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. - createBuilderFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- 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) - Method in class org.glassfish.json.JsonProviderImpl
- 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.
- createGenerator(Writer) - Method in class org.glassfish.json.JsonProviderImpl
- 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. - createGeneratorFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- 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() - Method in class org.glassfish.json.JsonProviderImpl
- 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) - Method in class org.glassfish.json.JsonProviderImpl
- 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(Reader) - Method in class org.glassfish.json.JsonProviderImpl
- 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. - createParserFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- 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) - Method in class org.glassfish.json.JsonProviderImpl
- 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.
- createReader(Reader) - Method in class org.glassfish.json.JsonProviderImpl
- 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. - createReaderFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
- 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) - Method in class org.glassfish.json.JsonProviderImpl
- 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
- createWriter(Writer) - Method in class org.glassfish.json.JsonProviderImpl
- 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. - createWriterFactory(Map<String, ?>) - Method in class org.glassfish.json.JsonProviderImpl
D
- doubleValue() - Method in interface javax.json.JsonNumber
-
Returns this JSON number as a
double
.
E
- 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.
G
- getBigDecimal() - Method in interface javax.json.stream.JsonParser
-
Returns a JSON number as a
BigDecimal
. - getBigDecimal() - Method in class org.glassfish.json.JsonParserImpl
- 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 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() - Method in class org.glassfish.json.JsonParserImpl
- 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.
- getLastCharLocation() - Method in class org.glassfish.json.JsonParserImpl
- getLineNumber() - Method in interface javax.json.stream.JsonLocation
-
Return the line number 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.
- getLocation() - Method in class org.glassfish.json.JsonParserImpl
- getLong() - Method in interface javax.json.stream.JsonParser
-
Returns a JSON number as a long.
- getLong() - Method in class org.glassfish.json.JsonParserImpl
- getSize(JsonStructure, Class<?>, Type, Annotation[], MediaType) - Method in class org.glassfish.json.jaxrs.JsonStructureBodyWriter
- 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() - Method in class org.glassfish.json.JsonParserImpl
- 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. - getValuesAs(Class<T>) - Method in interface javax.json.JsonArray
-
Returns a list a view of the specified type for the array.
- getValueType() - Method in interface javax.json.JsonValue
-
Returns the value type of this JSON value.
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. - hasNext() - Method in class org.glassfish.json.JsonParserImpl
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.
- isIntegralNumber() - Method in class org.glassfish.json.JsonParserImpl
- 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
. - isReadable(Class<?>, Type, Annotation[], MediaType) - Method in class org.glassfish.json.jaxrs.JsonStructureBodyReader
- isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class org.glassfish.json.jaxrs.JsonStructureBodyWriter
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. - JsonBuilderFactory - Interface in javax.json
-
Factory to create
JsonObjectBuilder
andJsonArrayBuilder
instances. - 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.
- 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. - JsonParserImpl - Class in org.glassfish.json
-
JSON parser implementation.
- JsonParserImpl(InputStream, Charset, BufferPool) - Constructor for class org.glassfish.json.JsonParserImpl
- JsonParserImpl(InputStream, BufferPool) - Constructor for class org.glassfish.json.JsonParserImpl
- JsonParserImpl(Reader, BufferPool) - Constructor for class org.glassfish.json.JsonParserImpl
- JsonParsingException - Exception in 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.
- JsonPrettyGeneratorImpl - Class in org.glassfish.json
- JsonPrettyGeneratorImpl(OutputStream, Charset, BufferPool) - Constructor for class org.glassfish.json.JsonPrettyGeneratorImpl
- JsonPrettyGeneratorImpl(OutputStream, BufferPool) - Constructor for class org.glassfish.json.JsonPrettyGeneratorImpl
- JsonPrettyGeneratorImpl(Writer, BufferPool) - Constructor for class org.glassfish.json.JsonPrettyGeneratorImpl
- JsonProvider - Class in javax.json.spi
-
Service provider for JSON processing objects.
- JsonProvider() - Constructor for class javax.json.spi.JsonProvider
- JsonProviderImpl - Class in org.glassfish.json
- JsonProviderImpl() - Constructor for class org.glassfish.json.JsonProviderImpl
- 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
- JsonStructureBodyReader - Class in org.glassfish.json.jaxrs
-
JAX-RS MessageBodyReader for JsonStructure.
- JsonStructureBodyReader() - Constructor for class org.glassfish.json.jaxrs.JsonStructureBodyReader
- JsonStructureBodyWriter - Class in org.glassfish.json.jaxrs
-
JAX-RS MessageBodyWriter for JsonStructure.
- JsonStructureBodyWriter() - Constructor for class org.glassfish.json.jaxrs.JsonStructureBodyWriter
- 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
.
N
- next() - Method in interface javax.json.stream.JsonParser
-
Returns the event for the next parsing state.
- next() - Method in class org.glassfish.json.JsonParserImpl
- 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.
O
- OBJECT - javax.json.JsonValue.ValueType
-
JSON object.
- org.glassfish.json - package org.glassfish.json
- org.glassfish.json.api - package org.glassfish.json.api
- org.glassfish.json.jaxrs - package org.glassfish.json.jaxrs
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.
- readFrom(Class<JsonStructure>, Type, Annotation[], MediaType, MultivaluedMap<String, String>, InputStream) - Method in class org.glassfish.json.jaxrs.JsonStructureBodyReader
- readObject() - Method in interface javax.json.JsonReader
-
Returns a JSON object that is represented in the input source.
- recycle(char[]) - Method in interface org.glassfish.json.api.BufferPool
-
Returns an object back to the pool.
S
- 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
- take() - Method in interface org.glassfish.json.api.BufferPool
-
Gets a new char[] object from the pool.
- 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.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.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 context.
- write(double) - 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(String) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON string value within the current array 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 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(JsonStructure) - Method in interface javax.json.JsonWriter
- write(JsonValue) - Method in interface javax.json.stream.JsonGenerator
-
Writes the specified value as a JSON value within the current array context.
- writeArray(JsonArray) - Method in interface javax.json.JsonWriter
-
Writes the specified JSON
array
to the output source. - writeComma() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeEnd() - Method in interface javax.json.stream.JsonGenerator
-
Writes the end of the current context.
- writeEnd() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeNull() - Method in interface javax.json.stream.JsonGenerator
-
Writes a JSON null value within the current array 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() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeStartArray(String) - Method in interface javax.json.stream.JsonGenerator
-
Writes the JSON name/start array character pair with in the current object context.
- writeStartArray(String) - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeStartObject() - Method in interface javax.json.stream.JsonGenerator
-
Writes the JSON start object character.
- writeStartObject() - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeStartObject(String) - Method in interface javax.json.stream.JsonGenerator
-
Writes the JSON name/start object character pair in the current object context.
- writeStartObject(String) - Method in class org.glassfish.json.JsonPrettyGeneratorImpl
- writeTo(JsonStructure, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class org.glassfish.json.jaxrs.JsonStructureBodyWriter
All Classes All Packages