JSON Persistence Framework
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE.md
README.md
pom.xml

README.md

TODO

  • Collections support

Get Started

Save a calendar instance (using GSON):

    Calendar calendar = Calendar.getInstance();
    String json = new Gson().toJson(calendar);
    JsonPersistence.save(json, Calendar.class);

Load a calendar instance (using GSON):

    json = JsonPersistence.load(Calendar.class);
    Calendar calendar = new Gson().fromJson(json, Calendar.class);