We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Warning
The documentation below has not been updated to the newest version
"Casting" to Node Types (casting does not check that actual document matches the target)
T as(Class<T extends JsonValue> type)
JsonList<T> asList(Class<T extends JsonValue> type)
JsonMap<V> asMap(Class<V extends JsonValue> type)
Tree Navigation
JsonValue get(String path)
JsonObject getObject(String path)
JsonArray getArray(String path)
JsonNumber getNumber(String path)
JsonBoolean getBoolean(String path)
JsonValue get(int index)
Drilling down...
JsonString str=root.getObject("a").getArray("b").getString(3) // is the same as JsonString str=root.getString("a.b[3]")
Traversing the actual tree to find nodes
JsonValue#node()
JsonObect#find
JsonValue
JsonNode#visit
JsonNode#find
JsonNode
JsonNode#count