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 JsonArrayThe empty JSON array.static final JsonObjectThe empty JSON object.static final JsonValueA constant JsonValue for FALSEstatic final JsonValueA constant JsonValue for null valuesstatic final JsonValueA 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
-