|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JsonValue | |
|---|---|
| javax.json | Java API for JSON Processing (JSON-P) API provides a way to process (for e.g. |
| Uses of JsonValue in javax.json |
|---|
| Subinterfaces of JsonValue in javax.json | |
|---|---|
interface |
JsonArray
JsonArray class represents an immutable JSON array value. |
interface |
JsonNumber
JsonNumber represents a JSON number value and internally a
BigDecimal may be used to store the numeric value. |
interface |
JsonObject
JsonObject class represents an immutable JSON object value. |
interface |
JsonString
JsonString represents a JSON string value |
interface |
JsonStructure
Super type for JSON's two structured types ( objects
and arrays). |
| Fields in javax.json declared as JsonValue | |
|---|---|
static JsonValue |
JsonValue.FALSE
JSON false value |
static JsonValue |
JsonValue.NULL
JSON null value |
static JsonValue |
JsonValue.TRUE
JSON true value |
| Methods in javax.json with type parameters of type JsonValue | ||
|---|---|---|
|
JsonArray.getValue(int index,
Class<T> clazz)
Returns the value at the specified position in this JSON array values. |
|
|
JsonObject.getValue(String name,
Class<T> clazz)
Returns the value to which the specified name/key is mapped, or null if this object contains no mapping for the name/key. |
|
| Methods in javax.json that return JsonValue | |
|---|---|
JsonValue |
JsonArray.getValue(int index)
Returns the value at the specified position in this JSON array values. |
JsonValue |
JsonObject.getValue(String name)
Returns the value to which the specified name/key is mapped, or null if this object contains no mapping for the name/key. |
| Methods in javax.json that return types with arguments of type JsonValue | |
|---|---|
List<JsonValue> |
JsonArray.getValues()
Returns an unmodifiable list of this JSON array values |
Map<String,JsonValue> |
JsonObject.getValues()
Returns an unmodifiable Map of the name(key)/value pairs
contained in this JSON object. |
| Methods in javax.json with parameters of type JsonValue | |
|---|---|
JsonArrayBuilder<T> |
JsonArrayBuilder.add(JsonValue value)
Adds the specified value to the array that is being built. |
JsonObjectBuilder<T> |
JsonObjectBuilder.add(String name,
JsonValue value)
Associates the specified value with the specified name/key in the JSON object that is being built. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||