oracle.dbtools.plugin.api.json.objects

## Interface JSONObject

- All Superinterfaces:
    JSONNode

      public interface JSONObject
      extends JSONNode

  Represents a JSON object
  Author:
    cdivilly

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `JSONObject.Builder` Build `JSONObject` instances

    - ### Nested classes/interfaces inherited from interface oracle.dbtools.plugin.api.json.objects.JSONNode

      `JSONNode.Type`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get(String propertyName)` Get the value of the named property
    `JSONObject.Builder` | `modify()` Create a `JSONObject.Builder` instance populated with the state of this `JSONObject` instance
    `Iterable<String>` | `propertyNames()` Enumerate the property names of this `JSONObject`

    - ### Methods inherited from interface oracle.dbtools.plugin.api.json.objects.JSONNode

      `isEmpty, size, type`

- - ### Method Detail

    - #### propertyNames

          Iterable<String> propertyNames()

      Enumerate the property names of this `JSONObject`
      Returns:
        property names

    - #### get

          Object get(String propertyName)

      Get the value of the named property
      Parameters:
        `propertyName` - The name of the property to retrieve
      Returns:
        The value of the property or null if no such property exists

    - #### modify

          JSONObject.Builder modify()

      Create a `JSONObject.Builder` instance populated with the state of this `JSONObject` instance
      Returns:
        Initialized `JSONObject.Builder` instance

Copyright © 2010, 2022, Oracle and/or its affiliates.