6.3.1.2.5. IJSONStore

public interface IJSONStore

The interface for store and restore state to/from JSON files

Author:Dmitry Baryshnikov

6.3.1.2.5.1. Methods

6.3.1.2.5.1.1. fromJSON

void fromJSON(JSONObject jsonObject)

Restore object from json

Parameters:
  • jsonObject – where the stored data are
Throws:
  • JSONException

6.3.1.2.5.1.2. toJSON

JSONObject toJSON()

Store object in json

Throws:
  • JSONException
Returns:

json object with stored data