javax.json.JsonValue is a top-level interface used to represent the node value types of JSON data, as shown ahead:
At runtime, it takes one of the following forms on the basis of the content type:
- javax.json.JsonObject: This form is an immutable JSON object value
- javax.json.JsonArray: This form is an immutable array representing an ordered sequence of zero or more JSON values
- javax.json.JsonNumber: This form is an immutable JSON numerical value
- javax.json.JsonString: This form is an immutable JSON string value
- javax.json.JsonValue.TRUE: This form represents the JSON TRUE value
- javax.json.JsonValue.FALSE: This form represents ...