Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Workday/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.
https://github.com/Workday/autoparse-json
Last synced: 5 days ago
JSON representation
Autoparse JSON is a java library built specifically for Android that uses code generation to parse JSON into custom objects in your project.
- Host: GitHub
- URL: https://github.com/Workday/autoparse-json
- Owner: Workday
- License: mit
- Created: 2015-05-30T19:31:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T17:31:31.000Z (almost 1 year ago)
- Last Synced: 2024-08-01T21:47:24.772Z (3 months ago)
- Language: Java
- Homepage:
- Size: 207 KB
- Stars: 11
- Watchers: 20
- Forks: 13
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-android - 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. (Uncategorized / Uncategorized)
README
# 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](https://github.com/workday/autoparse-json/wiki)!
**Latest Version:** [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.workday/autoparse-json/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.workday/autoparse-json)
**Build Status:** [![Circle CI](https://circleci.com/gh/Workday/autoparse-json.svg?style=svg)](https://circleci.com/gh/Workday/autoparse-json)
## 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](https://bitbucket.org/hvisser/android-apt) or the [kotlin-android plugin](https://kotlinlang.org/docs/reference/using-gradle.html), 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.