Uses of Interface
jakarta.json.JsonNumber
Package
Description
Provides an object model API to process JSON.
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
-
Uses of JsonNumber in jakarta.json
Modifier and TypeMethodDescriptionstatic 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.static JsonNumber
Json.createValue
(Number value) Creates a JsonNumber.static JsonNumber
Json.createValue
(BigDecimal value) Creates a JsonNumber.static JsonNumber
Json.createValue
(BigInteger value) Creates a JsonNumber.JsonArray.getJsonNumber
(int index) Returns the number value at the specified position in this array.JsonObject.getJsonNumber
(String name) Returns the number value to which the specified name is mapped. -
Uses of JsonNumber in jakarta.json.spi
Modifier and TypeMethodDescriptionJsonProvider.createValue
(double value) Creates a JsonNumber.JsonProvider.createValue
(int value) Creates a JsonNumber.JsonProvider.createValue
(long value) Creates a JsonNumber.JsonProvider.createValue
(Number number) Creates a JsonNumber.JsonProvider.createValue
(BigDecimal value) Creates a JsonNumber.JsonProvider.createValue
(BigInteger value) Creates a JsonNumber.