playn.flash.json.impl
Class JreJsonNull
java.lang.Object
playn.flash.json.impl.JreJsonValue
playn.flash.json.impl.JreJsonNull
- All Implemented Interfaces:
- JsonNull, JsonValue
public class JreJsonNull
- extends JreJsonValue
- implements JsonNull
Server-side implementation of JsonObject.
|
Method Summary |
Object |
getObject()
|
JsonType |
getType()
Returns an enumeration representing the fundamental JSON type. |
boolean |
jsEquals(JsonValue value)
Equivalent of Javascript '==' operator comparison between two values. |
String |
toJson()
Returns a serialized JSON string representing this value. |
void |
traverse(playn.flash.json.impl.JsonVisitor visitor,
playn.flash.json.impl.JsonContext ctx)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NULL_INSTANCE
public static final JsonNull NULL_INSTANCE
JreJsonNull
public JreJsonNull()
getObject
public Object getObject()
- Specified by:
getObject in class JreJsonValue
getType
public JsonType getType()
- Description copied from interface:
JsonValue
- Returns an enumeration representing the fundamental JSON type.
- Specified by:
getType in interface JsonValue
jsEquals
public boolean jsEquals(JsonValue value)
- Description copied from interface:
JsonValue
- Equivalent of Javascript '==' operator comparison between two values.
- Specified by:
jsEquals in interface JsonValue
traverse
public void traverse(playn.flash.json.impl.JsonVisitor visitor,
playn.flash.json.impl.JsonContext ctx)
- Specified by:
traverse in class JreJsonValue
toJson
public String toJson()
- Description copied from interface:
JsonValue
- Returns a serialized JSON string representing this value.
- Specified by:
toJson in interface JsonValue
- Returns:
Copyright © 2011. All Rights Reserved.