Back to project page Abstract-Model.
The source code is released under:
Apache License
If you think the Android project Abstract-Model listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.logician.abstractModel; //from www.ja v a 2 s . co m /** * Designates a class that will convert a representation of its fields to a {@link JSONObject} and back. * */ import org.json.JSONException; import org.json.JSONObject; public interface JSONSerializable { public JSONObject toJSONObject() throws JSONException; public void fromJSONObject(JSONObject jO) throws JSONException; }