|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplayn.flash.json.impl.JreJsonValue
playn.flash.json.impl.JreJsonString
public class JreJsonString
Server-side implementation of JsonString.
| Constructor Summary | |
|---|---|
JreJsonString(String string)
|
|
| Method Summary | |
|---|---|
Object |
getObject()
|
String |
getString()
|
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 |
| Constructor Detail |
|---|
public JreJsonString(String string)
| Method Detail |
|---|
public Object getObject()
getObject in class JreJsonValuepublic String getString()
getString in interface JsonStringpublic JsonType getType()
JsonValue
getType in interface JsonValuepublic boolean jsEquals(JsonValue value)
JsonValue
jsEquals in interface JsonValue
public void traverse(playn.flash.json.impl.JsonVisitor visitor,
playn.flash.json.impl.JsonContext ctx)
traverse in class JreJsonValue
public String toJson()
throws IllegalStateException
JsonValue
toJson in interface JsonValueIllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||