Class JSONObject

All Implemented Interfaces:
Serializable, Cloneable, Map, JSONAware, JSONStreamAware

public class JSONObject extends HashMap implements Map, JSONAware, JSONStreamAware
A JSON object. Key value pairs are unordered. JSONObject supports java.util.Map interface.
See Also:
  • Field Details

  • Constructor Details

    • JSONObject

      public JSONObject()
    • JSONObject

      public JSONObject(Map map)
      Allows creation of a JSONObject from a Map. After that, both the generated JSONObject and the Map can be modified independently.
      Parameters:
      map -
  • Method Details