Module org.jooq

Class JSONArray

All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess

public class JSONArray extends ArrayList
A JSON array. JSONObject supports java.util.List interface.
Author:
FangYidong<fangyidong@yahoo.com.cn>
See Also:
Serialized Form
  • Constructor Details

    • JSONArray

      public JSONArray()
      Constructs an empty JSONArray.
    • JSONArray

      public JSONArray(Collection c)
      Constructs a JSONArray containing the elements of the specified collection, in the order they are returned by the collection's iterator.
      Parameters:
      c - the collection whose elements are to be placed into this JSONArray
  • Method Details