Package javax.json
Interface JsonStructure
-
- All Superinterfaces:
JsonValue
- All Known Subinterfaces:
JsonArray
,JsonObject
public interface JsonStructure extends JsonValue
Super type for the two structured types in JSON (object
s andarray
s).
This is a near-exact copy of the same-titled Java EE 8 Class:javax.json.JsonStructure
Commenting has been slightly modified to accompany HiLiting the Code Examples.
Java Source Code remains identical to the Sun-Oracle & 'GlassFish' Released Distributions.
Read included License:HERE
, and theCDDL+GPL-1.1
Alljavax.json.*
Code Obtained From:GitHub JavaEE jsonp
Public Archive.
Hi-Lited Source-Code:- View Here: javax/json/JsonStructure.java
- Open New Browser-Tab: javax/json/JsonStructure.java
File Size: 2,719 Bytes Line Count: 64 '\n' Characters Found
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.json.JsonValue
JsonValue.ValueType
-
-
Field Summary
-
Fields inherited from interface javax.json.JsonValue
EMPTY_JSON_ARRAY, EMPTY_JSON_OBJECT, FALSE, NULL, TRUE
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default JsonValue
getValue(String jsonPointer)
Get the value referenced by the provided JSON Pointer in the JsonStructure.-
Methods inherited from interface javax.json.JsonValue
asJsonArray, asJsonObject, getValueType, toString
-
-
-
-
Method Detail
-
getValue
default JsonValue getValue(java.lang.String jsonPointer)
Get the value referenced by the provided JSON Pointer in the JsonStructure.- Parameters:
jsonPointer
- the JSON Pointer- Returns:
- the
JsonValue
at the referenced location - Throws:
JsonException
- if the JSON Pointer is malformed, or if it references a non-existing member or value.- Since:
- 1.1
- Code:
- Exact Method Body:
return Json.createPointer(jsonPointer).getValue(this);
-
-