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 interfaceJsonArrayJsonArrayrepresents an immutable JSON array (an ordered sequence of zero or more values).interfaceJsonNumberAn immutable JSON number value.interfaceJsonObjectJsonObjectclass represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).interfaceJsonStringAn immutable JSON string value.interfaceJsonStructureFields in javax.json declared as JsonValue Modifier and Type Field Description static JsonValueJsonValue. FALSEJSON false valuestatic JsonValueJsonValue. NULLJSON null value.static JsonValueJsonValue. TRUEJSON 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 JsonArrayBuilderJsonArrayBuilder. add(JsonValue value)Adds a value to the array.JsonObjectBuilderJsonObjectBuilder. add(String name, JsonValue value)Adds a name/JsonValuepair 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 JsonGeneratorJsonGenerator. write(String name, JsonValue value)Writes a JSON name/value pair in the current object context.JsonGeneratorJsonGenerator. write(JsonValue value)Writes the specified value as a JSON value within the current array context.
-