Package | Description |
---|---|
javax.json |
Provides an object model API to process JSON.
|
javax.json.spi |
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
|
Modifier and Type | Method and Description |
---|---|
static JsonNumber |
Json.createValue(BigDecimal value)
Creates a JsonNumber.
|
static JsonNumber |
Json.createValue(BigInteger value)
Creates a JsonNumber.
|
static JsonNumber |
Json.createValue(double value)
Creates a JsonNumber.
|
static JsonNumber |
Json.createValue(int value)
Creates a JsonNumber.
|
static JsonNumber |
Json.createValue(long value)
Creates a JsonNumber.
|
JsonNumber |
JsonArray.getJsonNumber(int index)
Returns the number value at the specified position in this array.
|
JsonNumber |
JsonObject.getJsonNumber(String name)
Returns the number value to which the specified name is mapped.
|
Modifier and Type | Method and Description |
---|---|
JsonNumber |
JsonProvider.createValue(BigDecimal value)
Creates a JsonNumber.
|
JsonNumber |
JsonProvider.createValue(BigInteger value)
Creates a JsonNumber.
|
JsonNumber |
JsonProvider.createValue(double value)
Creates a JsonNumber.
|
JsonNumber |
JsonProvider.createValue(int value)
Creates a JsonNumber.
|
JsonNumber |
JsonProvider.createValue(long value)
Creates a JsonNumber.
|
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.