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

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

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,

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.

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