Android Open Source - Abstract-Model J S O N Serializable






From Project

Back to project page Abstract-Model.

License

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.

Java Source Code

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;  
}




Java Source Code List

com.logician.abstractModel.AsyncModelFactory.java
com.logician.abstractModel.BinarySerializable.java
com.logician.abstractModel.Column.java
com.logician.abstractModel.JSONSerializable.java
com.logician.abstractModel.ModelListAdapter.java
com.logician.abstractModel.Model.java
com.logician.abstractModel.Util.java
com.logician.abstractModel.examples.MyDatabaseOpenHelper.java
com.logician.abstractModel.examples.User.java
com.logician.abstractModel.examples.UsersActivity.java