Class JSONObject.Array

java.lang.Object
org.apache.openjpa.persistence.jest.JSONObject.Array
All Implemented Interfaces:
JSON
Enclosing class:
JSONObject

public static class JSONObject.Array extends Object implements JSON
An array of objects. Members can be JSON too.
Author:
Pinaki Poddar
  • Constructor Details

    • Array

      public Array()
  • Method Details

    • add

      public void add(Object o)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • asString

      public StringBuilder asString(int indent)
      Description copied from interface: JSON
      Render into a string buffer.
      Specified by:
      asString in interface JSON
      Parameters:
      indent - level at which this instance is being rendered
      Returns:
      a mutable buffer