Package javax.json
Interface JsonValue
-
- All Known Subinterfaces:
JsonArray,JsonNumber,JsonObject,JsonString,JsonStructure
public interface JsonValueJsonValuerepresents 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), ornull(JsonValue.NULL).- Author:
- Jitendra Kotamraju
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classJsonValue.ValueTypeIndicates the type of aJsonValueobject.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JsonValue.ValueTypegetValueType()Returns the value type of this JSON value.StringtoString()Returns JSON text for this JSON value.
-
-
-
Method Detail
-
getValueType
JsonValue.ValueType getValueType()
Returns the value type of this JSON value.- Returns:
- JSON value type
-
-