Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.41 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.41 KB

autoparse-json

Autoparse JSON is a java library built specifically for Android that uses code generation to parse JSON into custom objects in your project.

Learn how to use Autoparse JSON in the wiki!

Latest Version: Maven Central

Build Status: Circle CI

Installation

Add the following lines to your build.gradle file, replacing $autoparse_json_version with latest version from Maven Central.

repositories {
    mavenCentral()
}

dependencies {
    compile "com.workday:autoparse-json:$autoparse_json_version"
    compile "com.workday:autoparse-json-processor:$autoparse_json_version"
}

Note that if you use the android-apt plugin or the kotlin-android plugin, you may use apt or kapt respectively instead of compile for autoparse-json-processor, e.g.

apt "com.workday:autoparse-json-processor:$autoparse_json_version"

In fact, it is highly recommended that you use apt or kapt as this will get rid of some "invalid package" and related warnings.