|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CastsToJSON
This interface is implemented by objects which can be cast to/from JSON
Method Summary | |
---|---|
void |
set(org.json.JSONObject o)
This method will attempt to set the data contents of this object to the values derived from the JSON object being passed-in. |
org.json.JSONObject |
toJSON()
This returns a copy of the object's data cast into a JSON form. |
Method Detail |
---|
void set(org.json.JSONObject o)
o
- The JSON object containing a the new data for this
object.org.json.JSONObject toJSON()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |