Package com.google.gwt.json.client
Class JSONNull
- java.lang.Object
-
- com.google.gwt.json.client.JSONValue
-
- com.google.gwt.json.client.JSONNull
-
public class JSONNull extends JSONValue
Represents the JSONnull
value.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JSONNull
getInstance()
Returns the singleton null-valued JSON object.(package private) JavaScriptObject
getUnwrapper()
Internal.JSONNull
isNull()
Returnsthis
, as this is a JSONNull.java.lang.String
toString()
Returns "null" to allow for formattingnull
values.
-
-
-
Method Detail
-
getInstance
public static JSONNull getInstance()
Returns the singleton null-valued JSON object.
-
isNull
public JSONNull isNull()
Returnsthis
, as this is a JSONNull.
-
toString
public java.lang.String toString()
Returns "null" to allow for formattingnull
values.
-
getUnwrapper
JavaScriptObject getUnwrapper()
Description copied from class:JSONValue
Internal. Returns a JS func that can unwrap this value. Used from native code.- Specified by:
getUnwrapper
in classJSONValue
-
-