playn.flash.json
Interface JsonValue

All Known Subinterfaces:
JsonArray, JsonBoolean, JsonNull, JsonNumber, JsonObject, JsonString
All Known Implementing Classes:
JreJsonArray, JreJsonBoolean, JreJsonNull, JreJsonNumber, JreJsonObject, JreJsonString, JreJsonValue

public interface JsonValue

Base interface for all Json values.


Method Summary
 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.
 

Method Detail

getType

JsonType getType()
Returns an enumeration representing the fundamental JSON type.


toJson

String toJson()
Returns a serialized JSON string representing this value.

Returns:

jsEquals

boolean jsEquals(JsonValue value)
Equivalent of Javascript '==' operator comparison between two values.



Copyright © 2011. All Rights Reserved.