项目作者: GErP83

项目描述 :
ModelParser is tiny library for android JSON parsing.
高级语言: Java
项目地址: git://github.com/GErP83/ModelParser.git
创建时间: 2018-02-03T18:10:24Z
项目社区:https://github.com/GErP83/ModelParser

开源协议:Do What The F*ck You Want To Public License

下载


I recommend to use GSON, this works as well, but it is only for showcase and i do not support it anymore.

ModelParser

ModelParser is tiny library for android JSON parsing. Not use any 3rd party library, it has zero dependencies.

What it can do

  • can parse a JSONObject into a custom class fields recursively
  • can convert a custom class to a JSONObject recursively

Requirements:

Android api 4.3+:

Add to dependencies:

  1. implementation 'com.github.gerp83:ModelParser:1.01'

Examples

Very good examples can be found in the demo folder.

Lisence

wtfpl

I hope this can make your job easier, happy auto parsing!