org.starhope.appius.util
Interface CastsToJSON

All Superinterfaces:
Serializable
All Known Subinterfaces:
AdditionalPaymentRecord
All Known Implementing Classes:
AvatarClass, AvatarDecoration, Coord2D, Coord3D, Currency, EventType, GameLogicException, Notification, NotificationReplyVerb, NotificationReplyVerbSet, Tuple2D, Tuple3D, UserEnrolment, Vector2D

public interface CastsToJSON
extends Serializable

This interface is implemented by objects which can be cast to/from JSON

Author:
brpocock@star-hope.org

Method Summary
 org.json.JSONObject toJSON()
          This returns a copy of the object's data cast into a JSON form.
 

Method Detail

toJSON

org.json.JSONObject toJSON()
This returns a copy of the object's data cast into a JSON form.

Returns:
The string representing this object in JSON format