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.org.glassfish.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>
java.util.List<T>JsonArray. getValuesAs(java.lang.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(java.lang.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(java.lang.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. -
Uses of JsonValue in org.glassfish.json
Classes in org.glassfish.json that implement JsonValue Modifier and Type Class Description private static classJsonArrayBuilderImpl.JsonArrayImpl(package private) classJsonNumberImplJsonNumber impl.private static classJsonNumberImpl.JsonBigDecimalNumberprivate static classJsonNumberImpl.JsonIntNumberprivate static classJsonNumberImpl.JsonLongNumberprivate static classJsonObjectBuilderImpl.JsonObjectImpl(package private) classJsonStringImplJsonString implFields in org.glassfish.json declared as JsonValue Modifier and Type Field Description private JsonValueJsonStructureParser.ArrayScope. valueprivate JsonValueJsonStructureParser.ObjectScope. valueFields in org.glassfish.json with type parameters of type JsonValue Modifier and Type Field Description private java.util.Iterator<JsonValue>JsonStructureParser.ArrayScope. itprivate java.util.Iterator<java.util.Map.Entry<java.lang.String,JsonValue>>JsonStructureParser.ObjectScope. itprivate java.util.List<JsonValue>JsonArrayBuilderImpl.JsonArrayImpl. valueListprivate java.util.ArrayList<JsonValue>JsonArrayBuilderImpl. valueListprivate java.util.Map<java.lang.String,JsonValue>JsonObjectBuilderImpl.JsonObjectImpl. valueMapprivate java.util.Map<java.lang.String,JsonValue>JsonObjectBuilderImpl. valueMapMethods in org.glassfish.json with type parameters of type JsonValue Modifier and Type Method Description <T extends JsonValue>
java.util.List<T>JsonArrayBuilderImpl.JsonArrayImpl. getValuesAs(java.lang.Class<T> clazz)Methods in org.glassfish.json that return JsonValue Modifier and Type Method Description JsonValueJsonArrayBuilderImpl.JsonArrayImpl. get(int index)(package private) JsonValueJsonStructureParser.ArrayScope. getJsonValue()(package private) JsonValueJsonStructureParser.ObjectScope. getJsonValue()(package private) abstract JsonValueJsonStructureParser.Scope. getJsonValue()JsonValueJsonStructureParser.ArrayScope. next()Methods in org.glassfish.json that return types with arguments of type JsonValue Modifier and Type Method Description java.util.Set<java.util.Map.Entry<java.lang.String,JsonValue>>JsonObjectBuilderImpl.JsonObjectImpl. entrySet()java.util.Map.Entry<java.lang.String,JsonValue>JsonStructureParser.ObjectScope. next()Methods in org.glassfish.json with parameters of type JsonValue Modifier and Type Method Description JsonArrayBuilderJsonArrayBuilderImpl. add(JsonValue value)JsonObjectBuilderJsonObjectBuilderImpl. add(java.lang.String name, JsonValue value)private voidJsonArrayBuilderImpl. addValueList(JsonValue value)(package private) static JsonStructureParser.ScopeJsonStructureParser.Scope. createScope(JsonValue value)private static JsonParser.EventJsonStructureParser. getState(JsonValue value)private voidJsonObjectBuilderImpl. putValueMap(java.lang.String name, JsonValue value)JsonGeneratorJsonGeneratorImpl. write(java.lang.String name, JsonValue value)JsonGeneratorJsonGeneratorImpl. write(JsonValue value)Constructor parameters in org.glassfish.json with type arguments of type JsonValue Constructor Description JsonArrayImpl(java.util.List<JsonValue> valueList, BufferPool bufferPool)JsonObjectImpl(java.util.Map<java.lang.String,JsonValue> valueMap, BufferPool bufferPool)
-