public interface JSONNode
JSONObject or JSONArray in a JSON document.| Modifier and Type | Interface and Description |
|---|---|
static interface |
JSONNode.Builder
Abstract interface implemented by all builders that build
JSONNode instances |
static class |
JSONNode.Type
The type of node in the object hierarchy
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Indicates if this node has any child elements
|
int |
size()
The number of child elements in this node
|
JSONNode.Type |
type()
The type of
JSONNode |
int size()
boolean isEmpty()
JSONNode.Type type()
JSONNodeJSONNode.Type of JSONNode