Interface JSONObject

  • All Superinterfaces:
    JSONNode

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

      • propertyNames

        java.lang.Iterable<java.lang.String> propertyNames()
        Enumerate the property names of this JSONObject
        Returns:
        property names
      • get

        java.lang.Object get​(java.lang.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