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

Krypton provides a simple and uniform way to manage the persistence of Java classes through the use of annotations and interfaces.

For both Java and Android platform, supported persistence format are:

  • JSON
  • XML
  • (Java) properties
  • CBOR
  • YAML
  • REST service, throws Retrofit library integration

For Android platform, there are other persistence mechanism supported:

  • SQLite database
  • Shared preference

Kripton use the power of annotation processors. With this tool, is possible to create java classes persistence code simply with annotations. 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.

Kripton was built to be SIMPLE and FAST. How it is SIMPLE will be showed in this documentations. How it is FAST is showed in Benchmarks, which show that KRIPTON is one (maybe the first) JSON persistence binder for ANDROID!

Performance is gained thanks to annotation processing and Jackson library.

Supported platforms

There are two platform: the Android environment and generic Java environment. For each platform there is a version of library.

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