Java API for JSON Processing
JSON-P - 1.0
JavaDoc Assertion Detail

TotalsTotalActiveDeprecatedRemoved
# of Assertions 30330300
# of Required Assertions 30330300
# of Optional Assertions 0000

IDReturnMethod/FieldDescriptionRequiredDeprecatedTestable
JSONP:JAVADOC:6JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( JsonValue )
Adds a value to the array.true
true
JSONP:JAVADOC:8JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( String )
Adds a value to the array as a JsonString.true
true
JSONP:JAVADOC:10JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( BigDecimal )
Adds a value to the array as a JsonNumber.true
true
JSONP:JAVADOC:12JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( BigInteger )
Adds a value to the array as a JsonNumber.true
true
JSONP:JAVADOC:14JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( int )
Adds a value to the array as a JsonNumber.true
true
JSONP:JAVADOC:16JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( long )
Adds a value to the array as a JsonNumber.true
true
JSONP:JAVADOC:18JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( double )
Adds a value to the array as a JsonNumber.true
true
JSONP:JAVADOC:20JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( double )
throws NumberFormatException
if the value is Not-a-Number(NaN) or infinitytrue
true
JSONP:JAVADOC:21JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( boolean )
Adds a JsonValue#TRUE or JsonValue#FALSE value to the array.true
true
JSONP:JAVADOC:25JsonArrayBuilderjavax.json.JsonArrayBuilder.addNull
Adds a JsonValue#NULL value to the array.true
true
JSONP:JAVADOC:37JsonExceptionjavax.json.JsonException.JsonException
( String )
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to #initCause.true
true
JSONP:JAVADOC:38JsonExceptionjavax.json.JsonException.JsonException
( String ,
Throwable )
Constructs a new runtime exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.true
true
JSONP:JAVADOC:40BigDecimaljavax.json.JsonNumber.bigDecimalValue
Returns this JSON number as a BigDecimal object.true
true
JSONP:JAVADOC:41BigIntegerjavax.json.JsonNumber.bigIntegerValue
Returns this JSON number as a BigInteger object. This is a a convenience method for bigDecimalValue().toBigInteger(). Note that this conversion can lose information about the overall magnitude and precision of the number value as well as return a result with the opposite sign.true
true
JSONP:JAVADOC:42BigIntegerjavax.json.JsonNumber.bigIntegerValueExact
Returns this JSON number as a BigDecimal object. This is a convenience method for bigDecimalValue().toBigIntegerExact().true
true
JSONP:JAVADOC:43BigIntegerjavax.json.JsonNumber.bigIntegerValueExact

throws ArithmeticException
if the number has a nonzero fractional parttrue
true
JSONP:JAVADOC:44doublejavax.json.JsonNumber.doubleValue
Returns this JSON number as a double. This is a a convenience method for bigDecimalValue().doubleValue(). Note that this conversion can lose information about the overall magnitude and precision of the number value as well as return a result with the opposite sign.true
true
JSONP:JAVADOC:45intjavax.json.JsonNumber.intValue
Returns this JSON number as an int. Note that this conversion can lose information about the overall magnitude and precision of the number value as well as return a result with the opposite sign.true
true
JSONP:JAVADOC:46intjavax.json.JsonNumber.intValueExact
Returns this JSON number as an int.true
true
JSONP:JAVADOC:47intjavax.json.JsonNumber.intValueExact

throws ArithmeticException
if the number has a nonzero fractional part or if it does not fit in an inttrue
true
JSONP:JAVADOC:48longjavax.json.JsonNumber.longValue
Returns this JSON number as a long. Note that this conversion can lose information about the overall magnitude and precision of the number value as well as return a result with the opposite sign.true
true
JSONP:JAVADOC:49longjavax.json.JsonNumber.longValueExact
Returns this JSON number as a long.true
true
JSONP:JAVADOC:50longjavax.json.JsonNumber.longValueExact

throws ArithmeticException
if the number has a non-zero fractional part or if it does not fit in a longtrue
true
JSONP:JAVADOC:51booleanjavax.json.JsonNumber.isIntegral
Returns true if this JSON number is a integral number. This method semantics are defined using bigDecimalValue().scale(). If the scale is zero, then it is considered integral type. This integral type information can be used to invoke an appropriate accessor method to obtain a numeric value as in the following example: JsonNumber num = ... if (num.isIntegral()) { num.longValue(); // or other methods to get integral value } else { num.doubleValue(); // or other methods to get decimal number value }true
true
JSONP:JAVADOC:58JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
JsonValue )
Adds a name/JsonValue pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:61JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
String )
Adds a name/JsonString pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:64JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
BigInteger )
Adds a name/JsonNumber pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:67JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
BigDecimal )
Adds a name/JsonNumber pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:70JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
int )
Adds a name/JsonNumber pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:73JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
long )
Adds a name/JsonNumber pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:76JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
double )
Adds a name/JsonNumber pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:79JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
double )
throws NumberFormatException
if the value is Not-a-Number(NaN) or infinitytrue
true
JSONP:JAVADOC:80JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
boolean )
Adds a name/JsonValue#TRUE or name/JsonValue#FALSE pair to the JSON object associated with this object builder. If the object contains a mapping for the specified name, this method replaces the old value with the specified value.true
true
JSONP:JAVADOC:86JsonObjectBuilderjavax.json.JsonObjectBuilder.addNull
( String )
Adds a name/JsonValue#NULL pair to the JSON object associated with this object builder where the value is null. If the object contains a mapping for the specified name, this method replaces the old value with null.true
true
JSONP:JAVADOC:96voidjavax.json.JsonReader.close
Closes this reader and frees any resources associated with the reader. This method closes the underlying input source.true
true
JSONP:JAVADOC:97JsonReaderjavax.json.Json.createReader
( Reader )
Creates a JSON reader from a character stream.true
true
JSONP:JAVADOC:101Stringjavax.json.JsonString.getString
Returns the JSON string value.true
true
JSONP:JAVADOC:102ValueTypejavax.json.JsonValue.getValueType
Returns the value type of this JSON value.true
true
JSONP:JAVADOC:103ValueTypejavax.json.JsonValue.ValueType.valueOf
( String )

true
true
JSONP:JAVADOC:104ValueType[]javax.json.JsonValue.ValueType.values

true
true
JSONP:JAVADOC:105voidjavax.json.JsonWriter.close
Closes this JSON writer and frees any resources associated with the writer. This method closes the underlying output source.true
true
JSONP:JAVADOC:106JsonWriterjavax.json.Json.createWriter
( Writer )
Creates a JSON writer to write a JSON JsonObject object or JsonArray array structure to the specified character stream.true
true
JSONP:JAVADOC:107voidjavax.json.JsonWriter.writeArray
( JsonArray )
Writes the specified JSON JsonArray array to the output source. This method needs to be called only once for a writer instance.true
true
JSONP:JAVADOC:108voidjavax.json.JsonWriter.writeArray
( JsonArray )
throws JsonException
if the specified JSON object cannot be written due to i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:109voidjavax.json.JsonWriter.writeArray
( JsonArray )
throws IllegalStateException
if writeArray, writeObject, write or close method is already calledtrue
true
JSONP:JAVADOC:110voidjavax.json.JsonWriter.writeObject
( JsonObject )
Writes the specified JSON JsonObject object to the output source. This method needs to be called only once for a writer instance.true
true
JSONP:JAVADOC:111voidjavax.json.JsonWriter.writeObject
( JsonObject )
throws JsonException
if the specified JSON object cannot be written due to i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:112voidjavax.json.JsonWriter.writeObject
( JsonObject )
throws IllegalStateException
if writeArray, writeObject, write or close method is already calledtrue
true
JSONP:JAVADOC:115voidjavax.json.stream.JsonGenerator.close
Closes this generator and frees any resources associated with it. This method closes the underlying output source.true
true
JSONP:JAVADOC:117voidjavax.json.stream.JsonParser.close
Closes this parser and frees any resources associated with the parser. This method closes the underlying input source.true
true
JSONP:JAVADOC:120booleanjavax.json.stream.JsonParser.isIntegralNumber
Returns true if the JSON number at the current parser state is a integral number. A BigDecimal may be used to store the value internally and this method semantics are defined using its scale(). If the scale is zero, then it is considered integral type. This integral type information can be used to invoke an appropriate accessor method to obtain a numeric value as in the following example: JsonParser parser = ... if (parser.isIntegralNumber()) { parser.getInt(); // or other methods to get integral value } else { parser.getBigDecimal(); }true
true
JSONP:JAVADOC:121booleanjavax.json.stream.JsonParser.isIntegralNumber

throws IllegalStateException
when the parser state is not VALUE_NUMBERtrue
true
JSONP:JAVADOC:122Stringjavax.json.stream.JsonParser.getString
Returns a String for the name in a name/value pair, for a string value or a number value. This method should only be called when the parser state is Event#KEY_NAME, Event#VALUE_STRING, or Event#VALUE_NUMBER.true
true
JSONP:JAVADOC:123Stringjavax.json.stream.JsonParser.getString

throws IllegalStateException
when the parser state is not KEY_NAME, VALUE_STRING, or VALUE_NUMBERtrue
true
JSONP:JAVADOC:128Eventjavax.json.stream.JsonParser.Event.valueOf
( String )

true
true
JSONP:JAVADOC:129Event[]javax.json.stream.JsonParser.Event.values

true
true
JSONP:JAVADOC:131JsonGeneratorjavax.json.Json.createGenerator
( Writer )
Creates a JSON generator for writing JSON to a character stream.true
true
JSONP:JAVADOC:133JsonParserjavax.json.Json.createParser
( Reader )
Creates a JSON parser from a character stream.true
true
JSONP:JAVADOC:144JsonGeneratorjavax.json.spi.JsonProvider.createGenerator
( Writer )
Creates a JSON generator for writing JSON text to a character stream.true
true
JSONP:JAVADOC:146JsonParserjavax.json.spi.JsonProvider.createParser
( Reader )
Creates a JSON parser from a character stream.true
true
JSONP:JAVADOC:152JsonProviderjavax.json.spi.JsonProvider.provider
Creates a JSON provider object. The provider is loaded using the ServiceLoader#load(Class) method. If there are no available service providers, this method returns the default service provider.true
true
JSONP:JAVADOC:162JsonGeneratorjavax.json.stream.JsonGeneratorFactory.createGenerator
( Writer )
Creates a JSON generator to write JSON text to a character stream. The generator is configured with the factory configuration.true
true
JSONP:JAVADOC:163JsonGeneratorjavax.json.stream.JsonGeneratorFactory.createGenerator
( OutputStream ,
Charset )
Creates a JSON generator to write JSON text to a byte stream. Characters written to the stream are encoded into bytes using the specified charset. The generator is configured with the factory's configuration.true
true
JSONP:JAVADOC:164JsonParserjavax.json.stream.JsonParserFactory.createParser
( Reader )
Creates a JSON parser from a character stream.true
true
JSONP:JAVADOC:165JsonParserjavax.json.stream.JsonParserFactory.createParser
( InputStream )
Creates a JSON parser from the specified byte stream. The character encoding of the stream is determined as specified in RFC 4627.true
true
JSONP:JAVADOC:166JsonParserjavax.json.stream.JsonParserFactory.createParser
( JsonObject )
Creates a JSON parser from the specified JSON object.true
true
JSONP:JAVADOC:167JsonParserjavax.json.stream.JsonParserFactory.createParser
( JsonArray )
Creates a JSON parser from the specified JSON array.true
true
JSONP:JAVADOC:168JsonGeneratorjavax.json.Json.createGenerator
( OutputStream )
Creates a JSON generator for writing JSON to a byte stream.true
true
JSONP:JAVADOC:172JsonParserjavax.json.Json.createParser
( InputStream )
Creates a JSON parser from a byte stream. The character encoding of the stream is determined as specified in RFC 4627.true
true
JSONP:JAVADOC:178JsonReaderjavax.json.Json.createReader
( InputStream )
Creates a JSON reader from a byte stream. The character encoding of the stream is determined as described in RFC 4627.true
true
JSONP:JAVADOC:181JsonStructurejavax.json.JsonReader.read
Returns a JSON array or object that is represented in the input source. This method needs to be called only once for a reader instance.true
true
JSONP:JAVADOC:182JsonStructurejavax.json.JsonReader.read

throws JsonException
if a JSON object or array cannot be created due to i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:183JsonStructurejavax.json.JsonReader.read

throws IllegalStateException
if read, readObject, readArray or close method is already calledtrue
true
JSONP:JAVADOC:184JsonArrayjavax.json.JsonReader.readArray
Returns a JSON array that is represented in the input source. This method needs to be called only once for a reader instance.true
true
JSONP:JAVADOC:185JsonObjectjavax.json.JsonReader.readObject
Returns a JSON object that is represented in the input source. This method needs to be called only once for a reader instance.true
true
JSONP:JAVADOC:187JsonWriterjavax.json.Json.createWriter
( OutputStream )
Creates a JSON writer to write a JSON JsonObject object or JsonArray array structure to the specified byte stream. Characters written to the stream are encoded into bytes using UTF-8 encoding.true
true
JSONP:JAVADOC:191voidjavax.json.JsonWriter.write
( JsonStructure )
Writes the specified JSON JsonObject object or JsonArray array to the output source. This method needs to be called only once for a writer instance.true
true
JSONP:JAVADOC:192JsonGeneratorjavax.json.spi.JsonProvider.createGenerator
( OutputStream )
Creates a JSON generator for writing JSON text to a byte stream.true
true
JSONP:JAVADOC:196JsonParserjavax.json.spi.JsonProvider.createParser
( InputStream )
Creates a JSON parser from the specified byte stream. The character encoding of the stream is determined as defined in RFC 4627 .true
true
JSONP:JAVADOC:200JsonGeneratorjavax.json.stream.JsonGeneratorFactory.createGenerator
( OutputStream )
Creates a JSON generator to write JSON text to a byte stream. Characters written to the stream are encoded into bytes using UTF-8 encoding. The generator is configured with the factory's configuration.true
true
JSONP:JAVADOC:201JsonParserjavax.json.stream.JsonParserFactory.createParser
( InputStream ,
Charset )
Creates a JSON parser from the specified byte stream. The bytes of the stream are decoded to characters using the specified charset.true
true
JSONP:JAVADOC:207JsonParserjavax.json.Json.createParser
( InputStream )
throws JsonException
if encoding cannot be determined or i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:215Stringjavax.json.JsonNumber.toString
Returns a JSON text representation of the JSON number. The representation is equivalent to BigDecimal#toString().true
true
JSONP:JAVADOC:217JsonArrayjavax.json.JsonReader.readArray

throws JsonException
if a JSON array cannot be created due to i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:218JsonArrayjavax.json.JsonReader.readArray

throws IllegalStateException
if read, readObject, readArray or close method is already calledtrue
true
JSONP:JAVADOC:219JsonObjectjavax.json.JsonReader.readObject

throws JsonException
if a JSON object cannot be created due to i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:220JsonObjectjavax.json.JsonReader.readObject

throws IllegalStateException
if read, readObject, readArray or close method is already calledtrue
true
JSONP:JAVADOC:221voidjavax.json.JsonWriter.write
( JsonStructure )
throws JsonException
if the specified JSON object cannot be written due to i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:222voidjavax.json.JsonWriter.write
( JsonStructure )
throws IllegalStateException
if writeArray, writeObject, write or close method is already calledtrue
true
JSONP:JAVADOC:223JsonParserjavax.json.spi.JsonProvider.createParser
( InputStream )
throws JsonException
if encoding cannot be determined or i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:225JsonParserjavax.json.stream.JsonParserFactory.createParser
( InputStream )
throws JsonException
if encoding cannot be determined or i/o error (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:235BigDecimaljavax.json.stream.JsonParser.getBigDecimal
Returns a JSON number as a BigDecimal. The BigDecimal is created using new BigDecimal(getString()). This method should only called when the parser state is Event#VALUE_NUMBER.true
true
JSONP:JAVADOC:236BigDecimaljavax.json.stream.JsonParser.getBigDecimal

throws IllegalStateException
when the parser state is not VALUE_NUMBERtrue
true
JSONP:JAVADOC:237intjavax.json.stream.JsonParser.getInt
Returns a JSON number as an integer. The returned value is equal to new BigDecimal(getString()).intValue(). Note that this conversion can lose information about the overall magnitude and precision of the number value as well as return a result with the opposite sign. This method should only be called when the parser state is Event#VALUE_NUMBER.true
true
JSONP:JAVADOC:238intjavax.json.stream.JsonParser.getInt

throws IllegalStateException
when the parser state is not VALUE_NUMBERtrue
true
JSONP:JAVADOC:239longjavax.json.stream.JsonParser.getLong
Returns a JSON number as a long. The returned value is equal to new BigDecimal(getString()).longValue(). Note that this conversion can lose information about the overall magnitude and precision of the number value as well as return a result with the opposite sign. This method is only called when the parser state is Event#VALUE_NUMBER.true
true
JSONP:JAVADOC:240longjavax.json.stream.JsonParser.getLong

throws IllegalStateException
when the parser state is not VALUE_NUMBERtrue
true
JSONP:JAVADOC:250booleanjavax.json.JsonNumber.equals
( Object )
Compares the specified object with this JsonNumber object for equality. Returns true if and only if the type of the specified object is also JsonNumber and their #bigDecimalValue() objects are equaltrue
true
JSONP:JAVADOC:251intjavax.json.JsonNumber.hashCode
Returns the hash code value for this JsonNumber object. The hash code of a JsonNumber object is defined as the hash code of its #bigDecimalValue() object.true
true
JSONP:JAVADOC:254booleanjavax.json.JsonString.equals
( Object )
Compares the specified object with this JsonString for equality. Returns true if and only if the specified object is also a JsonString, and their #getString() objects are equal.true
true
JSONP:JAVADOC:255intjavax.json.JsonString.hashCode
Returns the hash code value for this JsonString object. The hash code of a JsonString object is defined to be its #getString() object's hash code.true
true
JSONP:JAVADOC:262intjavax.json.JsonArray.getInt
( int )
A convenience method for getJsonNumber(index).intValue().true
true
JSONP:JAVADOC:263Stringjavax.json.JsonArray.getString
( int )
A convenience method for getJsonString(index).getString().true
true
JSONP:JAVADOC:264intjavax.json.JsonObject.getInt
( String )
A convenience method for getJsonNumber(name).intValue()true
true
JSONP:JAVADOC:265Stringjavax.json.JsonObject.getString
( String )
A convenience method for getJsonString(name).getString()true
true
JSONP:JAVADOC:278JsonGenerationExceptionjavax.json.stream.JsonGenerationException.JsonGenerationException
( String )
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to #initCause.true
true
JSONP:JAVADOC:279JsonGenerationExceptionjavax.json.stream.JsonGenerationException.JsonGenerationException
( String ,
Throwable )
Constructs a new runtime exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.true
true
JSONP:JAVADOC:285JsonParsingExceptionjavax.json.stream.JsonParsingException.JsonParsingException
( String ,
JsonLocation )
Constructs a new runtime exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to #initCause.true
true
JSONP:JAVADOC:286JsonParsingExceptionjavax.json.stream.JsonParsingException.JsonParsingException
( String ,
Throwable ,
JsonLocation )
Constructs a new runtime exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.true
true
JSONP:JAVADOC:288Stringjavax.json.JsonValue.toString
Returns JSON text for this JSON value.true
true
JSONP:JAVADOC:289JsonGeneratorjavax.json.stream.JsonGenerator.writeEnd
Writes the end of the current context. If the current context is an array context, this method writes the end-of-array character (']'). If the current context is an object context, this method writes the end-of-object character ('}'). After writing the end of the current context, the parent context becomes the new current context.true
true
JSONP:JAVADOC:290JsonGeneratorjavax.json.stream.JsonGenerator.writeEnd

throws JsonGenerationException
if this method is called in no context.true
true
JSONP:JAVADOC:291voidjavax.json.stream.JsonGenerator.flush
Flushes the underlying output source. If the generator has saved any characters in a buffer, writes them immediately to the underlying output source before flushing it.true
true
JSONP:JAVADOC:292JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
JsonValue )
Writes a JSON name/value pair in the current object context.true
true
JSONP:JAVADOC:293JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
JsonValue )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:295JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
String )
Writes a JSON name/string value pair in the current object context. The specified value is written as JSON string value.true
true
JSONP:JAVADOC:296JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
String )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:297JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
String )
throws JsonGenerationException
if this method is not called within an object contexttrue
true
JSONP:JAVADOC:298JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
BigInteger )
Writes a JSON name/number value pair in the current object context. The specified value is written as a JSON number value. The string new BigDecimal(value).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:299JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
BigInteger )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:301JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
BigDecimal )
Writes a JSON name/number value pair in the current object context. The specified value is written as a JSON number value. The specified value's toString() is used as the text value for writing.true
true
JSONP:JAVADOC:302JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
BigDecimal )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:303JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
BigDecimal )
throws JsonGenerationException
if this method is not called within an object context.true
true
JSONP:JAVADOC:304JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
int )
Writes a JSON name/number value pair in the current object context. The specified value is written as a JSON number value. The string new BigDecimal(value).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:305JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
int )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:306JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
int )
throws JsonGenerationException
if this method is not called within an object context.true
true
JSONP:JAVADOC:307JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
long )
Writes a JSON name/number value pair in the current object context. The specified value is written as a JSON number value. The string new BigDecimal(value).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:308JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
long )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:309JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
long )
throws JsonGenerationException
if this method is not called within an object context.true
true
JSONP:JAVADOC:310JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
double )
Writes a JSON name/number value pair in the current object context. The specified value is written as a JSON number value. The string BigDecimal.valueOf(double).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:311JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
double )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:312JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
double )
throws JsonGenerationException
if this method is not called within an object contexttrue
true
JSONP:JAVADOC:314JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
boolean )
Writes a JSON name/boolean value pair in the current object context. If value is true, it writes the JSON true value, otherwise it writes the JSON false value.true
true
JSONP:JAVADOC:315JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
boolean )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:316JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
boolean )
throws JsonGenerationException
if this method is not called within an object context.true
true
JSONP:JAVADOC:317JsonGeneratorjavax.json.stream.JsonGenerator.write
( JsonValue )
Writes the specified value as a JSON value within the current array context.true
true
JSONP:JAVADOC:319JsonGeneratorjavax.json.stream.JsonGenerator.write
( String )
Writes the specified value as a JSON string value within the current array context.true
true
JSONP:JAVADOC:321JsonGeneratorjavax.json.stream.JsonGenerator.write
( BigDecimal )
Writes the specified value as a JSON number value within the current array context. The specified value's toString() is used as the the text value for writing.true
true
JSONP:JAVADOC:323JsonGeneratorjavax.json.stream.JsonGenerator.write
( BigInteger )
Writes the specified value as a JSON number value within the current array context. The string new BigDecimal(value).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:325JsonGeneratorjavax.json.stream.JsonGenerator.write
( int )
Writes the specified value as a JSON number value within the current array context. The string new BigDecimal(value).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:327JsonGeneratorjavax.json.stream.JsonGenerator.write
( long )
Writes the specified value as a JSON number value within the current array context. The string new BigDecimal(value).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:329JsonGeneratorjavax.json.stream.JsonGenerator.write
( double )
Writes the specified value as a JSON number value within the current array context. The string BigDecimal.valueOf(value).toString() is used as the text value for writing.true
true
JSONP:JAVADOC:331JsonGeneratorjavax.json.stream.JsonGenerator.write
( double )
throws NumberFormatException
if the value is Not-a-Number(NaN) or infinity.true
true
JSONP:JAVADOC:332JsonGeneratorjavax.json.stream.JsonGenerator.write
( boolean )
Writes a JSON true or false value within the current array context. If value is true, this method writes the JSON true value, otherwise it writes the JSON false value.true
true
JSONP:JAVADOC:334JsonGeneratorjavax.json.stream.JsonGenerator.writeNull
( String )
Writes a JSON name/null value pair in an current object context.true
true
JSONP:JAVADOC:335JsonGeneratorjavax.json.stream.JsonGenerator.writeNull
( String )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:336JsonGeneratorjavax.json.stream.JsonGenerator.writeNull
( String )
throws JsonGenerationException
if this method is not called within an object contexttrue
true
JSONP:JAVADOC:337JsonGeneratorjavax.json.stream.JsonGenerator.writeNull
Writes a JSON null value within the current array context.true
true
JSONP:JAVADOC:339JsonGeneratorjavax.json.stream.JsonGenerator.writeStartArray
Writes the JSON start array character. It starts a new child array context within which JSON values can be written to the array. This method is valid only in an array context or in no context (when a context is not yet started). This method can only be called once in no context.true
true
JSONP:JAVADOC:340JsonGeneratorjavax.json.stream.JsonGenerator.writeStartArray
( String )
Writes the JSON name/start array character pair with in the current object context. It starts a new child array context within which JSON values can be written to the array.true
true
JSONP:JAVADOC:341JsonGeneratorjavax.json.stream.JsonGenerator.writeStartObject
Writes the JSON start object character. It starts a new child object context within which JSON name/value pairs can be written to the object. This method is valid only in an array context or in no context (when a context is not yet started). This method can only be called once in no context.true
true
JSONP:JAVADOC:342JsonGeneratorjavax.json.stream.JsonGenerator.writeStartObject
( String )
Writes the JSON name/start object character pair in the current object context. It starts a new child object context within which JSON name/value pairs can be written to the object.true
true
JSONP:JAVADOC:343JsonGeneratorjavax.json.stream.JsonGenerator.writeEnd

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:344intjavax.json.JsonObject.getInt
( String )
throws ClassCastException
if the value for specified name mapping is not assignable to JsonNumbertrue
true
JSONP:JAVADOC:345Stringjavax.json.JsonObject.getString
( String )
throws ClassCastException
if the value for specified name mapping is not assignable to JsonStringtrue
true
JSONP:JAVADOC:346voidjavax.json.stream.JsonGenerator.close

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:347JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
JsonValue )
throws JsonGenerationException
if this method is not called within an object contexttrue
true
JSONP:JAVADOC:348JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
BigInteger )
throws JsonGenerationException
if this method is not called within an object context.true
true
JSONP:JAVADOC:349JsonGeneratorjavax.json.stream.JsonGenerator.write
( JsonValue )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:350JsonGeneratorjavax.json.stream.JsonGenerator.write
( JsonValue )
throws JsonGenerationException
if this method is not called within an array context.true
true
JSONP:JAVADOC:351JsonGeneratorjavax.json.stream.JsonGenerator.write
( String )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:352JsonGeneratorjavax.json.stream.JsonGenerator.write
( String )
throws JsonGenerationException
if this method is not called within an array contexttrue
true
JSONP:JAVADOC:353JsonGeneratorjavax.json.stream.JsonGenerator.write
( BigDecimal )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:354JsonGeneratorjavax.json.stream.JsonGenerator.write
( BigDecimal )
throws JsonGenerationException
if this method is not called within an array contexttrue
true
JSONP:JAVADOC:355JsonGeneratorjavax.json.stream.JsonGenerator.write
( BigInteger )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:356JsonGeneratorjavax.json.stream.JsonGenerator.write
( BigInteger )
throws JsonGenerationException
if this method is not called within an array contexttrue
true
JSONP:JAVADOC:357JsonGeneratorjavax.json.stream.JsonGenerator.write
( int )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:358JsonGeneratorjavax.json.stream.JsonGenerator.write
( int )
throws JsonGenerationException
if this method is not called within an array contexttrue
true
JSONP:JAVADOC:359JsonGeneratorjavax.json.stream.JsonGenerator.write
( long )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:360JsonGeneratorjavax.json.stream.JsonGenerator.write
( long )
throws JsonGenerationException
if this method is not called within an array contexttrue
true
JSONP:JAVADOC:361JsonGeneratorjavax.json.stream.JsonGenerator.write
( double )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:362JsonGeneratorjavax.json.stream.JsonGenerator.write
( double )
throws JsonGenerationException
if this method is not called within an array contexttrue
true
JSONP:JAVADOC:363JsonGeneratorjavax.json.stream.JsonGenerator.write
( boolean )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:364JsonGeneratorjavax.json.stream.JsonGenerator.write
( boolean )
throws JsonGenerationException
if this method is not called within an array context.true
true
JSONP:JAVADOC:365JsonGeneratorjavax.json.stream.JsonGenerator.writeNull

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:366JsonGeneratorjavax.json.stream.JsonGenerator.writeNull

throws JsonGenerationException
if this method is not called within an array contexttrue
true
JSONP:JAVADOC:367JsonGeneratorjavax.json.stream.JsonGenerator.writeStartArray

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:368JsonGeneratorjavax.json.stream.JsonGenerator.writeStartArray

throws JsonGenerationException
if this method is called within an object context or if called more than once in no contexttrue
true
JSONP:JAVADOC:369JsonGeneratorjavax.json.stream.JsonGenerator.writeStartArray
( String )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:370JsonGeneratorjavax.json.stream.JsonGenerator.writeStartArray
( String )
throws JsonGenerationException
if this method is not called within an object contexttrue
true
JSONP:JAVADOC:371JsonGeneratorjavax.json.stream.JsonGenerator.writeStartObject

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:372JsonGeneratorjavax.json.stream.JsonGenerator.writeStartObject

throws JsonGenerationException
if this method is called within an object context or if it is called more than once in no context.true
true
JSONP:JAVADOC:373JsonGeneratorjavax.json.stream.JsonGenerator.writeStartObject
( String )
throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:374JsonGeneratorjavax.json.stream.JsonGenerator.writeStartObject
( String )
throws JsonGenerationException
if this method is not called within an object contexttrue
true
JSONP:JAVADOC:375booleanjavax.json.stream.JsonParser.hasNext
Returns true if there are more parsing states. This method returns false if the parser reaches the end of the JSON text.true
true
JSONP:JAVADOC:376Eventjavax.json.stream.JsonParser.next
Returns the event for the next parsing state.true
true
JSONP:JAVADOC:377intjavax.json.JsonArray.getInt
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:378intjavax.json.JsonArray.getInt
( int )
throws ClassCastException
if the value at the specified position is not assignable to JsonNumbertrue
true
JSONP:JAVADOC:379Stringjavax.json.JsonArray.getString
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:380Stringjavax.json.JsonArray.getString
( int )
throws ClassCastException
if the value at the specified position is not assignable to JsonStringtrue
true
JSONP:JAVADOC:381voidjavax.json.stream.JsonGenerator.close

throws JsonGenerationException
if an incomplete JSON is generatedtrue
true
JSONP:JAVADOC:382JsonGeneratorjavax.json.stream.JsonGenerator.write
( String ,
double )
throws NumberFormatException
if the value is Not-a-Number(NaN) or infinity.true
true
JSONP:JAVADOC:383CharSequencejavax.json.JsonString.getChars
Returns the char sequence for the JSON String valuetrue
true
JSONP:JAVADOC:387booleanjavax.json.stream.JsonParser.hasNext

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
false
JSONP:JAVADOC:388booleanjavax.json.stream.JsonParser.hasNext

throws JsonParsingException
if the parser encounters invalid JSON when advancing to next state.true
false
JSONP:JAVADOC:389Eventjavax.json.stream.JsonParser.next

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:390Eventjavax.json.stream.JsonParser.next

throws JsonParsingException
if the parser encounters invalid JSON when advancing to next state.true
true
JSONP:JAVADOC:391Eventjavax.json.stream.JsonParser.next

throws NoSuchElementException
if there are no more parsing states.true
true
JSONP:JAVADOC:400JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( JsonObjectBuilder )
Adds a JsonObject from an object builder to the array.true
true
JSONP:JAVADOC:401JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( JsonArrayBuilder )
Adds a JsonArray from an array builder to the array.true
true
JSONP:JAVADOC:402JsonArrayjavax.json.JsonArrayBuilder.build
Returns the current array.true
true
JSONP:JAVADOC:403JsonArrayBuilderjavax.json.Json.createArrayBuilder
Creates a JSON array buildertrue
true
JSONP:JAVADOC:404JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
JsonObjectBuilder )
Adds a name/JsonObject pair to the JSON object associated with this object builder. The value JsonObject is built from the specified object builder. If the object contains a mapping for the specified name, this method replaces the old value with the JsonObject from the specified object builder.true
true
JSONP:JAVADOC:406JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
JsonArrayBuilder )
Adds a name/JsonArray pair to the JSON object associated with this object builder. The value JsonArray is built from the specified array builder. If the object contains a mapping for the specified name, this method replaces the old value with the JsonArray from the specified array builder.true
true
JSONP:JAVADOC:408JsonObjectjavax.json.JsonObjectBuilder.build
Returns the JSON object associated with this object builder. The iteration order for the JsonObject is based on the order in which name/value pairs are added to the object using this builder.true
true
JSONP:JAVADOC:409JsonObjectBuilderjavax.json.Json.createObjectBuilder
Creates a JSON object buildertrue
true
JSONP:JAVADOC:410voidjavax.json.JsonReader.close

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:411JsonStructurejavax.json.JsonReader.read

throws JsonParsingException
if a JSON object or array cannot be created due to incorrect representationtrue
true
JSONP:JAVADOC:412JsonArrayjavax.json.JsonReader.readArray

throws JsonParsingException
if a JSON array cannot be created due to incorrect representationtrue
true
JSONP:JAVADOC:413JsonObjectjavax.json.JsonReader.readObject

throws JsonParsingException
if a JSON object cannot be created due to incorrect representationtrue
true
JSONP:JAVADOC:414voidjavax.json.JsonWriter.close

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:415voidjavax.json.stream.JsonParser.close

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:416JsonGeneratorFactoryjavax.json.Json.createGeneratorFactory
( Map )
Creates a generator factory for creating JsonGenerator objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:417JsonParserFactoryjavax.json.Json.createParserFactory
( Map )
Creates a parser factory for creating JsonParser objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:419JsonReaderjavax.json.JsonReaderFactory.createReader
( Reader )
Creates a JSON reader from a character stream. The reader is configured with the factory configuration.true
true
JSONP:JAVADOC:420JsonReaderjavax.json.JsonReaderFactory.createReader
( InputStream ,
Charset )
Creates a JSON reader from a byte stream. The bytes of the stream are decoded to characters using the specified charset. The reader is configured with the factory configuration.true
true
JSONP:JAVADOC:422JsonWriterjavax.json.JsonWriterFactory.createWriter
( Writer )
Creates a JSON writer to write a JSON JsonObject object or JsonArray array structure to the specified character stream. The writer is configured with the factory configuration.true
true
JSONP:JAVADOC:423JsonWriterjavax.json.JsonWriterFactory.createWriter
( OutputStream )
Creates a JSON writer to write a JSON JsonObject object or JsonArray array structure to the specified byte stream. Characters written to the stream are encoded into bytes using UTF-8 encoding. The writer is configured with the factory configuration.true
true
JSONP:JAVADOC:424JsonWriterjavax.json.JsonWriterFactory.createWriter
( OutputStream ,
Charset )
Creates a JSON writer to write a JSON JsonObject object or JsonArray array structure to the specified byte stream. Characters written to the stream are encoded into bytes using the specified charset. The writer is configured with the factory configuration.true
true
JSONP:JAVADOC:425JsonGeneratorFactoryjavax.json.spi.JsonProvider.createGeneratorFactory
( Map )
Creates a generator factory for creating JsonGenerator instances. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:426JsonParserFactoryjavax.json.spi.JsonProvider.createParserFactory
( Map )
Creates a parser factory for creating JsonParser instances. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:427Mapjavax.json.stream.JsonGeneratorFactory.getConfigInUse
Returns a read-only map of supported provider specific configuration properties that are used to configure the JSON generators. If there are any specified configuration properties that are not supported by the provider, they won't be part of the returned map.true
true
JSONP:JAVADOC:428Mapjavax.json.stream.JsonParserFactory.getConfigInUse
Returns a read-only map of supported provider specific configuration properties that are used to configure the JSON parsers. If there are any specified configuration properties that are not supported by the provider, they won't be part of the returned map.true
true
JSONP:JAVADOC:429JsonReaderjavax.json.JsonReaderFactory.createReader
( InputStream )
Creates a JSON reader from a byte stream. The character encoding of the stream is determined as described in RFC 4627. The reader is configured with the factory configuration.true
true
JSONP:JAVADOC:430booleanjavax.json.JsonArray.getBoolean
( int )
Returns the boolean value at the specified position. If the value at the specified position is JsonValue.TRUE this method returns true. If the value at the specified position is JsonValue.FALSE this method returns false.true
true
JSONP:JAVADOC:431booleanjavax.json.JsonArray.getBoolean
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:432booleanjavax.json.JsonArray.getBoolean
( int )
throws ClassCastException
if the value at the specified position is not assignable to JsonValue.TRUE or JsonValue.FALSEtrue
true
JSONP:JAVADOC:433booleanjavax.json.JsonArray.getBoolean
( int ,
boolean )
Returns the boolean value at the specified position. If the value at the specified position is JsonValue.TRUE this method returns true. If the value at the specified position is JsonValue.FALSE this method returns false. Otherwise this method returns the specified default value.true
true
JSONP:JAVADOC:434intjavax.json.JsonArray.getInt
( int ,
int )
Returns the int value of the JsonNumber at the specified position. If the value at that position is a JsonNumber, this method returns javax.json.JsonNumber#intValue(). Otherwise this method returns the specified default value.true
true
JSONP:JAVADOC:435Stringjavax.json.JsonArray.getString
( int ,
String )
Returns the String value of JsonString at the specified position in this JSON array values. If JsonString is found, its javax.json.JsonString#getString() is returned. Otherwise, the specified default value is returned.true
true
JSONP:JAVADOC:436booleanjavax.json.JsonObject.getBoolean
( String )
Returns the boolean value of the associated mapping for the specified name. If the associated mapping is JsonValue.TRUE, then returns true. If the associated mapping is JsonValue.FALSE, then returns false.true
true
JSONP:JAVADOC:437booleanjavax.json.JsonObject.getBoolean
( String )
throws NullPointerException
if the specified name doesn't have any mappingtrue
true
JSONP:JAVADOC:438booleanjavax.json.JsonObject.getBoolean
( String )
throws ClassCastException
if the value for specified name mapping is not assignable to JsonValue.TRUE or JsonValue.FALSEtrue
true
JSONP:JAVADOC:439booleanjavax.json.JsonObject.getBoolean
( String ,
boolean )
Returns the boolean value of the associated mapping for the specified name. If the associated mapping is JsonValue.TRUE, then returns true. If the associated mapping is JsonValue.FALSE, then returns false. Otherwise, the specified default value is returned.true
true
JSONP:JAVADOC:440intjavax.json.JsonObject.getInt
( String )
throws NullPointerException
if the specified name doesn't have any mappingtrue
true
JSONP:JAVADOC:441intjavax.json.JsonObject.getInt
( String ,
int )
Returns the int value of the associated JsonNumber mapping for the specified name. If JsonNumber is found, then its javax.json.JsonNumber#intValue() is returned. Otherwise, the specified default value is returned.true
true
JSONP:JAVADOC:442Stringjavax.json.JsonObject.getString
( String )
throws NullPointerException
if the specified name doesn't have any mappingtrue
true
JSONP:JAVADOC:443Stringjavax.json.JsonObject.getString
( String ,
String )
Returns the string value of the associated JsonString mapping for the specified name. If JsonString is found, then its javax.json.JsonString#getString() is returned. Otherwise, the specified default value is returned.true
true
JSONP:JAVADOC:445JsonBuilderFactoryjavax.json.Json.createBuilderFactory
( Map )
Creates a builder factory for creating JsonArrayBuilder and JsonObjectBuilder objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:449JsonReaderFactoryjavax.json.Json.createReaderFactory
( Map )
Creates a reader factory for creating JsonReader objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:452JsonWriterFactoryjavax.json.Json.createWriterFactory
( Map )
Creates a writer factory for creating JsonWriter objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:453JsonArrayBuilderjavax.json.JsonBuilderFactory.createArrayBuilder
Creates a JsonArrayBuilder instance that is used to build JsonArraytrue
true
JSONP:JAVADOC:454JsonObjectBuilderjavax.json.JsonBuilderFactory.createObjectBuilder
Creates a JsonObjectBuilder instance that is used to build JsonObject.true
true
JSONP:JAVADOC:455Mapjavax.json.JsonBuilderFactory.getConfigInUse
Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON builders. If there are any specified configuration properties that are not supported by the provider, they won't be part of the returned map.true
true
JSONP:JAVADOC:459Mapjavax.json.JsonReaderFactory.getConfigInUse
Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON readers. If there are any specified configuration properties that are not supported by the provider, they won't be part of the returned map.true
true
JSONP:JAVADOC:463Mapjavax.json.JsonWriterFactory.getConfigInUse
Returns read-only map of supported provider specific configuration properties that are used to configure the created JSON writer objects. If there are any specified configuration properties that are not supported by the provider, they won't be part of the returned map.true
true
JSONP:JAVADOC:464JsonArrayBuilderjavax.json.spi.JsonProvider.createArrayBuilder
Creates a JSON array buildertrue
true
JSONP:JAVADOC:465JsonBuilderFactoryjavax.json.spi.JsonProvider.createBuilderFactory
( Map )
Creates a builder factory for creating JsonArrayBuilder and JsonObjectBuilder objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:466JsonObjectBuilderjavax.json.spi.JsonProvider.createObjectBuilder
Creates a JSON object buildertrue
true
JSONP:JAVADOC:467JsonReaderjavax.json.spi.JsonProvider.createReader
( Reader )
Creates a JSON reader from a character stream.true
true
JSONP:JAVADOC:468JsonReaderjavax.json.spi.JsonProvider.createReader
( InputStream )
Creates a JSON reader from a byte stream. The character encoding of the stream is determined as described in RFC 4627.true
true
JSONP:JAVADOC:469JsonReaderFactoryjavax.json.spi.JsonProvider.createReaderFactory
( Map )
Creates a reader factory for creating JsonReader objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:470JsonWriterjavax.json.spi.JsonProvider.createWriter
( Writer )
Creates a JSON writer to write a JSON JsonObject object or JsonArray array structure to the specified character stream.true
true
JSONP:JAVADOC:471JsonWriterjavax.json.spi.JsonProvider.createWriter
( OutputStream )
Creates a JSON writer to write a JSON JsonObject object or JsonArray array structure to the specified byte stream. Characters written to the stream are encoded into bytes using UTF-8 encoding.true
true
JSONP:JAVADOC:472JsonWriterFactoryjavax.json.spi.JsonProvider.createWriterFactory
( Map )
Creates a writer factory for creating JsonWriter objects. The factory is configured with the specified map of provider specific configuration properties. Provider implementations should ignore any unsupported configuration properties specified in the map.true
true
JSONP:JAVADOC:474longjavax.json.stream.JsonLocation.getColumnNumber
Return the column number for the current JSON event in the input source.true
true
JSONP:JAVADOC:475longjavax.json.stream.JsonLocation.getLineNumber
Return the line number for the current JSON event in the input source.true
true
JSONP:JAVADOC:476longjavax.json.stream.JsonLocation.getStreamOffset
Return the stream offset into the input source this location is pointing to. If the input source is a file or a byte stream then this is the byte offset into that stream, but if the input source is a character media then the offset is the character offset. Returns -1 if there is no offset available.true
true
JSONP:JAVADOC:477JsonLocationjavax.json.stream.JsonParser.getLocation
Return the location that corresponds to the parser's current state in the JSON input source. The location information is only valid in the current parser state (or until the parser is advanced to a next state).true
true
JSONP:JAVADOC:478JsonLocationjavax.json.stream.JsonParsingException.getLocation
Return the location of the incorrect JSON.true
true
JSONP:JAVADOC:481Listjavax.json.JsonArray.getValuesAs
( Class )
Returns a list a view of the specified type for the array. This method does not verify if there is a value of wrong type in the array. Providing this typesafe view dynamically may cause a program fail with a ClassCastException, if there is a value of wrong type in this array. Unfortunately, the exception can occur at any time after this method returns.true
true
JSONP:JAVADOC:490JsonArrayjavax.json.JsonArray.getJsonArray
( int )
Returns the array value at the specified position in this array. This is a convenience method for (JsonArray)get(index).true
true
JSONP:JAVADOC:491JsonArrayjavax.json.JsonArray.getJsonArray
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:492JsonArrayjavax.json.JsonArray.getJsonArray
( int )
throws ClassCastException
if the value at the specified position is not assignable to the JsonArray typetrue
true
JSONP:JAVADOC:493JsonNumberjavax.json.JsonArray.getJsonNumber
( int )
Returns the number value at the specified position in this array. This is a convenience method for (JsonNumber)get(index).true
true
JSONP:JAVADOC:494JsonNumberjavax.json.JsonArray.getJsonNumber
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:495JsonNumberjavax.json.JsonArray.getJsonNumber
( int )
throws ClassCastException
if the value at the specified position is not assignable to the JsonNumber typetrue
true
JSONP:JAVADOC:496JsonObjectjavax.json.JsonArray.getJsonObject
( int )
Returns the object value at the specified position in this array. This is a convenience method for (JsonObject)get(index).true
true
JSONP:JAVADOC:497JsonObjectjavax.json.JsonArray.getJsonObject
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:498JsonObjectjavax.json.JsonArray.getJsonObject
( int )
throws ClassCastException
if the value at the specified position is not assignable to the JsonObject typetrue
true
JSONP:JAVADOC:499JsonStringjavax.json.JsonArray.getJsonString
( int )
Returns the string value at ths specified position in this array. This is a convenience method for (JsonString)get(index).true
true
JSONP:JAVADOC:500JsonStringjavax.json.JsonArray.getJsonString
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:501JsonStringjavax.json.JsonArray.getJsonString
( int )
throws ClassCastException
if the value at the specified position is not assignable to the JsonString typetrue
true
JSONP:JAVADOC:506booleanjavax.json.JsonArray.isNull
( int )
Returns true if the value at the specified location in this array is JsonValue.NULL.true
true
JSONP:JAVADOC:507booleanjavax.json.JsonArray.isNull
( int )
throws IndexOutOfBoundsException
if the index is out of rangetrue
true
JSONP:JAVADOC:527JsonArrayjavax.json.JsonObject.getJsonArray
( String )
Returns the array value to which the specified name is mapped. This is a convenience method for (JsonArray)get(name) to get the value.true
true
JSONP:JAVADOC:528JsonArrayjavax.json.JsonObject.getJsonArray
( String )
throws ClassCastException
if the value to which the specified name is mapped is not assignable to JsonArray typetrue
true
JSONP:JAVADOC:529JsonNumberjavax.json.JsonObject.getJsonNumber
( String )
Returns the number value to which the specified name is mapped. This is a convenience method for (JsonNumber)get(name) to get the value.true
true
JSONP:JAVADOC:530JsonNumberjavax.json.JsonObject.getJsonNumber
( String )
throws ClassCastException
if the value to which the specified name is mapped is not assignable to JsonNumber typetrue
true
JSONP:JAVADOC:531JsonObjectjavax.json.JsonObject.getJsonObject
( String )
Returns the object value to which the specified name is mapped. This is a convenience method for (JsonObject)get(name) to get the value.true
true
JSONP:JAVADOC:532JsonObjectjavax.json.JsonObject.getJsonObject
( String )
throws ClassCastException
if the value to which the specified name is mapped is not assignable to JsonObject typetrue
true
JSONP:JAVADOC:533JsonStringjavax.json.JsonObject.getJsonString
( String )
Returns the string value to which the specified name is mapped. This is a convenience method for (JsonString)get(name) to get the value.true
true
JSONP:JAVADOC:534JsonStringjavax.json.JsonObject.getJsonString
( String )
throws ClassCastException
if the value to which the specified name is mapped is not assignable to JsonString typetrue
true
JSONP:JAVADOC:539booleanjavax.json.JsonObject.isNull
( String )
Returns true if the associated value for the specified name is JsonValue.NULL.true
true
JSONP:JAVADOC:540booleanjavax.json.JsonObject.isNull
( String )
throws NullPointerException
if the specified name doesn't have any mappingtrue
true
JSONP:JAVADOC:551voidjavax.json.stream.JsonGenerator.flush

throws JsonException
if an i/o error occurs (IOException would be cause of JsonException)true
true
JSONP:JAVADOC:555JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( JsonValue )
throws NullPointerException
if the specified value is nulltrue
true
JSONP:JAVADOC:556JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( String )
throws NullPointerException
if the specified value is nulltrue
true
JSONP:JAVADOC:557JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( BigDecimal )
throws NullPointerException
if the specified value is nulltrue
true
JSONP:JAVADOC:558JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( BigInteger )
throws NullPointerException
if the specified value is nulltrue
true
JSONP:JAVADOC:559JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( JsonObjectBuilder )
throws NullPointerException
if the specified builder is nulltrue
true
JSONP:JAVADOC:560JsonArrayBuilderjavax.json.JsonArrayBuilder.add
( JsonArrayBuilder )
throws NullPointerException
if the specified builder is nulltrue
true
JSONP:JAVADOC:561JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
JsonValue )
throws NullPointerException
if the specified name or value is nulltrue
true
JSONP:JAVADOC:562JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
String )
throws NullPointerException
if the specified name or value is nulltrue
true
JSONP:JAVADOC:563JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
BigInteger )
throws NullPointerException
if the specified name or value is nulltrue
true
JSONP:JAVADOC:564JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
BigDecimal )
throws NullPointerException
if the specified name or value is nulltrue
true
JSONP:JAVADOC:565JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
int )
throws NullPointerException
if the specified name is nulltrue
true
JSONP:JAVADOC:566JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
long )
throws NullPointerException
if the specified name is nulltrue
true
JSONP:JAVADOC:567JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
double )
throws NullPointerException
if the specified name is nulltrue
true
JSONP:JAVADOC:568JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
boolean )
throws NullPointerException
if the specified name is nulltrue
true
JSONP:JAVADOC:569JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
JsonObjectBuilder )
throws NullPointerException
if the specified name or builder is nulltrue
true
JSONP:JAVADOC:570JsonObjectBuilderjavax.json.JsonObjectBuilder.add
( String ,
JsonArrayBuilder )
throws NullPointerException
if the specified name or builder is nulltrue
true
JSONP:JAVADOC:571JsonObjectBuilderjavax.json.JsonObjectBuilder.addNull
( String )
throws NullPointerException
if the specified name is nulltrue
true