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 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>
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 JsonArrayBuilder
JsonArrayBuilder. add(JsonValue value)
Adds a value to the array.JsonObjectBuilder
JsonObjectBuilder. add(java.lang.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(java.lang.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. -
Uses of JsonValue in org.glassfish.json
Classes in org.glassfish.json that implement JsonValue Modifier and Type Class Description private static class
JsonArrayBuilderImpl.JsonArrayImpl
(package private) class
JsonNumberImpl
JsonNumber impl.private static class
JsonNumberImpl.JsonBigDecimalNumber
private static class
JsonNumberImpl.JsonIntNumber
private static class
JsonNumberImpl.JsonLongNumber
private static class
JsonObjectBuilderImpl.JsonObjectImpl
(package private) class
JsonStringImpl
JsonString implFields in org.glassfish.json declared as JsonValue Modifier and Type Field Description private JsonValue
JsonStructureParser.ArrayScope. value
private JsonValue
JsonStructureParser.ObjectScope. value
Fields in org.glassfish.json with type parameters of type JsonValue Modifier and Type Field Description private java.util.Iterator<JsonValue>
JsonStructureParser.ArrayScope. it
private java.util.Iterator<java.util.Map.Entry<java.lang.String,JsonValue>>
JsonStructureParser.ObjectScope. it
private java.util.List<JsonValue>
JsonArrayBuilderImpl.JsonArrayImpl. valueList
private java.util.ArrayList<JsonValue>
JsonArrayBuilderImpl. valueList
private java.util.Map<java.lang.String,JsonValue>
JsonObjectBuilderImpl.JsonObjectImpl. valueMap
private java.util.Map<java.lang.String,JsonValue>
JsonObjectBuilderImpl. valueMap
Methods 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 JsonValue
JsonArrayBuilderImpl.JsonArrayImpl. get(int index)
(package private) JsonValue
JsonStructureParser.ArrayScope. getJsonValue()
(package private) JsonValue
JsonStructureParser.ObjectScope. getJsonValue()
(package private) abstract JsonValue
JsonStructureParser.Scope. getJsonValue()
JsonValue
JsonStructureParser.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 JsonArrayBuilder
JsonArrayBuilderImpl. add(JsonValue value)
JsonObjectBuilder
JsonObjectBuilderImpl. add(java.lang.String name, JsonValue value)
private void
JsonArrayBuilderImpl. addValueList(JsonValue value)
(package private) static JsonStructureParser.Scope
JsonStructureParser.Scope. createScope(JsonValue value)
private static JsonParser.Event
JsonStructureParser. getState(JsonValue value)
private void
JsonObjectBuilderImpl. putValueMap(java.lang.String name, JsonValue value)
JsonGenerator
JsonGeneratorImpl. write(java.lang.String name, JsonValue value)
JsonGenerator
JsonGeneratorImpl. 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)
-