Skip to content
/ Acela Public

Ridiculously fast and feature-rich json parsing and serialization library.

License

Notifications You must be signed in to change notification settings

agrosner/Acela

Repository files navigation

Acela

Acela is a powerful and blazing-fast JSON parser and serializer with annotation processing backed by Jackson Streaming API.

This library is built on speed, performance, and approachability. Not only does it eliminate most boilerplate code for parsing JSON data into model classes and back to JSON, but also provides a very flexible and simple API to manage how data is parsed.

What sets this library apart:

  1. Built on speed, its faster than nearly anything out there.

// insert graph here

  1. Support for custom conversions from JSON
  2. Perform custom logic by listening for parse/serialize events using SerializeListener, ParseListener or the more specific ParseKeyListener and SerializeKeyListener
  3. Support for merging different JSON sources together using the @Mergeableannotation.
  4. Support for subclassing non-Translatable classes and parsing data into them using @InheritedField

Getting Started

Will be up soon.

  buildscript {
    repositories {
        jcenter()
    }
    classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
  }

  allprojects {
    repositories {
        jcenter()
    }
  }

Add the library to the project-level build.gradle, and use the apt plugin:

  apply plugin: 'com.neenbedankt.android-apt'

  dependencies {
    compile "com.andrewgrosner.acela:library:1.0.0"
  }

Changelog

Usage Docs

For more detailed usage, check out these sections:

Getting Started

Merging Objects

Inheriting Fields

Listening For Parse/Serialize Events

Custom Type Converters

Customizing Serialization and Parsing

About

Ridiculously fast and feature-rich json parsing and serialization library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages