-
- All Superinterfaces:
JsonValue
- All Known Subinterfaces:
JsonArray
,JsonObject
public interface JsonStructure extends JsonValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jakarta.json.JsonValue
JsonValue.ValueType
-
-
Field Summary
-
Fields inherited from interface jakarta.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 jakarta.json.JsonValue
asJsonArray, asJsonObject, getValueType, toString
-
-
-
-
Method Detail
-
getValue
default JsonValue getValue(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
-
-