Package oracle.dbtools.plugin.api.json.objects

## Interface JSONNode

- All Known Subinterfaces:
    `JSONArray`, `JSONObject`

      public interface JSONNode

  Represents a `JSONObject` or `JSONArray` in a JSON document.
  Author:
    cdivilly

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface | 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

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | 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`

- - ### Method Detail

    - #### size

          int size()

      The number of child elements in this node
      Returns:
        The number of child elements of this node

    - #### isEmpty

          boolean isEmpty()

      Indicates if this node has any child elements
      Returns:
        true if the node has 1 or more child elements, false otherwise

    - #### type

          JSONNode.Type type()

      The type of `JSONNode`
      Returns:
        `JSONNode.Type` of `JSONNode`