Uses of Interface
javax.json.JsonValue
-
Packages that use JsonValue Package Description javax.json Provides an object model API to process JSON.javax.json.stream Provides a streaming API to parse and generate JSON. -
-
Uses of JsonValue in javax.json
Subinterfaces of JsonValue in javax.json Modifier and Type Interface Description interface
JsonArray
JsonArray
represents an immutable JSON array (an ordered sequence of zero or more values).interface
JsonNumber
An immutable JSON number value.interface
JsonObject
JsonObject
class represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).interface
JsonString
An immutable JSON string value.interface
JsonStructure
Fields in javax.json declared as JsonValue Modifier and Type Field Description static JsonValue
JsonValue. FALSE
JSON false valuestatic JsonValue
JsonValue. NULL
JSON null value.static JsonValue
JsonValue. TRUE
JSON true value.Methods in javax.json with type parameters of type JsonValue Modifier and Type Method Description <T extends JsonValue>
List<T>JsonArray. getValuesAs(Class<T> clazz)
Returns a list a view of the specified type for the array.Methods in javax.json with parameters of type JsonValue Modifier and Type Method Description JsonArrayBuilder
JsonArrayBuilder. add(JsonValue value)
Adds a value to the array.JsonObjectBuilder
JsonObjectBuilder. add(String name, JsonValue value)
Adds a name/JsonValue
pair to the JSON object associated with this object builder. -
Uses of JsonValue in javax.json.stream
Methods in javax.json.stream with parameters of type JsonValue Modifier and Type Method Description JsonGenerator
JsonGenerator. write(String name, JsonValue value)
Writes a JSON name/value pair in the current object context.JsonGenerator
JsonGenerator. write(JsonValue value)
Writes the specified value as a JSON value within the current array context.
-