Package javax.json
Interface JsonValue
- All Known Subinterfaces:
JsonArray
,JsonNumber
,JsonObject
,JsonString
,JsonStructure
public interface JsonValue
A single value in a JSON expression.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonArray
The empty JSON array.static final JsonObject
The empty JSON object.static final JsonValue
A constant JsonValue for FALSEstatic final JsonValue
A constant JsonValue for null valuesstatic final JsonValue
A constant JsonValue for TRUE -
Method Summary
-
Field Details
-
EMPTY_JSON_OBJECT
The empty JSON object. -
EMPTY_JSON_ARRAY
The empty JSON array. -
NULL
A constant JsonValue for null values -
TRUE
A constant JsonValue for TRUE -
FALSE
A constant JsonValue for FALSE
-
-
Method Details
-
getValueType
JsonValue.ValueType getValueType() -
toString
String toString() -
asJsonObject
-
asJsonArray
-