Skip to content
xcesco edited this page Jan 18, 2017 · 59 revisions

During development of an Android App, the developer has to persist some java class in different ways.

Kripton is a java library with the aim to provide a simple and uniform way to manage persistence of Java classes in different flavours.

Supported persistence format are:

  • JSON
  • XML
  • (java) properties
  • CBOR
  • YAML

For Android platform, there are other persistence mechanism supported:

  • Shared preference
  • SQLite database
  • REST service, throws Retrofit library integration, managed at runtime

Kripton use the power of annotation processor. With this tool, is possible to create java classes persistence code simply with an annotation. There are many other libraries that do this, but Kripton allows to persists java object in different ways with an unique set of annotation and mechanism.

Supported platforms

There are two platform: the android environment and generic Java environment. For each platform there is a version of library. Android platform already include a json library and xml parser library. Java JDK does not include a json library and have different xml parser libraries.

Table of Contents

Query definition

Features

Relations

Multithread supports

Modularization

Annotations for data convertion

Annotations for SQLite ORM

Annotations for shared preferences

Clone this wiki locally