Package com.github.tnakamot.json.value
This package provides classes to represent JSON values in Java based on RFC 8259. All value types (object, array, number,
string, boolean and null) are supported.
The key class is JSONValue
. This is a root class of
other classes that represent various types of JSON values. Actual representation of JSON values
is achieved by subclasses of JSONValue
.
- See Also:
- RFC 8259
-
Class Summary Class Description JSONValue Represents one JSON value.JSONValueArray Represents one JSON 'array' value.JSONValueArrayImmutable Represents one JSON 'array' value (immutable).JSONValueArrayMutable Represents one JSON 'array' value (mutable).JSONValueBoolean Represents one JSON 'boolean' value.JSONValueNull Represents one JSON 'null' value.JSONValueNumber Represents one JSON 'number' value.JSONValueObject Represents one JSON 'object' value.JSONValueObjectImmutable Represents one JSON 'object' value (immutable).JSONValueObjectMutable Represents one JSON 'object' value (mutable).JSONValuePrimitive Represents one JSON primitive value.JSONValueString Represents one JSON 'string' value.JSONValueStructured Represents one JSON structured value. -
Enum Summary Enum Description JSONValueType Represents a type of a JSON value. -
Exception Summary Exception Description WrongValueTypeException Thrown when this library gets a JSON value of unexpected type.