Class NullObject

    • Constructor Detail

      • NullObject

        NullObject()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class JSONObject
      • toString

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

        public java.lang.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