JsonArray, JsonNumber, JsonObject, JsonString, JsonStructurepublic interface JsonValue
JsonValue represents an immutable JSON value.
A JSON value is one of the following:
an object (JsonObject), an array (JsonArray),
a number (JsonNumber), a string (JsonString),
true (JsonValue.TRUE), false
(JsonValue.FALSE),
or null (JsonValue.NULL).
| Modifier and Type | Interface | Description |
|---|---|---|
static class |
JsonValue.ValueType |
Indicates the type of a
JsonValue object. |
| Modifier and Type | Field | Description |
|---|---|---|
static JsonValue |
FALSE |
JSON false value
|
static JsonValue |
NULL |
JSON null value.
|
static JsonValue |
TRUE |
JSON true value.
|
| Modifier and Type | Method | Description |
|---|---|---|
JsonValue.ValueType |
getValueType() |
Returns the value type of this JSON value.
|
String |
toString() |
Returns JSON text for this JSON value.
|
static final JsonValue NULL
static final JsonValue TRUE
static final JsonValue FALSE
JsonValue.ValueType getValueType()
Copyright © 2019 Oracle. All rights reserved.