Interface JSONObject

All Superinterfaces:
JSONNode

public interface JSONObject extends JSONNode
Represents a JSON object
Author:
cdivilly
  • Method Details

    • 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

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