Class NullObject


class NullObject extends JSONObject
  • Constructor Details

    • NullObject

      NullObject()
  • Method Details

    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class JSONObject
    • toString

      public String toString()
      Overrides:
      toString in class JSONObject
      Returns:
      the object as a JSON string with no formatting
    • toString

      public String toString(int i) throws JSONException
      Description copied from class: JSONObject
      render the object as a JSON String
      Overrides:
      toString in class JSONObject
      Parameters:
      i - (ignored due to limitations in gson which uses a hardcoded indentation)
      Returns:
      a JSON String
      Throws:
      JSONException