Package com.sdicons.json.model
Class JSONNull
- java.lang.Object
-
- com.sdicons.json.model.JSONValue
-
- com.sdicons.json.model.JSONSimple
-
- com.sdicons.json.model.JSONNull
-
public class JSONNull extends JSONSimple
Represents a JSON null value. The only valid example is:null.
-
-
Constructor Summary
Constructors Constructor Description JSONNull()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
protected java.lang.String
render(boolean pretty, java.lang.String indent)
Convert the JSON value into a string representation (JSON representation).java.lang.Object
strip()
Strip all JSON information.java.lang.String
toString()
-
-
-
Field Detail
-
NULL
public static final JSONNull NULL
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
render
protected java.lang.String render(boolean pretty, java.lang.String indent)
Description copied from class:JSONValue
Convert the JSON value into a string representation (JSON representation).
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-