项目作者: tomansill

项目描述 :
Simple and easy-to-use non-POJO JSON library for Java
高级语言: Java
项目地址: git://github.com/tomansill/simple-json.git
创建时间: 2018-05-20T14:19:39Z
项目社区:https://github.com/tomansill/simple-json

开源协议:GNU General Public License v3.0

下载


SimpleJSON

A simple and easy-to-use JSON for Java. This library gives you a single Java class called ‘SimpleJSON’ and this class is all you’ll ever need. You do not need to do any type castings. You are not required to set up try and catch blocks for exception, althrough you can catch unchecked exception if you need to. You can do much more and type less with SimpleJSON. There’s a caveat, SimpleJSON is less ‘safe’ meaning you’ll more likely encounter a runtime error if you use SimpleJSON incorrectly.

If you want non-POJO (Plain Old Java Object) JSON library, doesn’t want boilerplate code of using Map, and want something simple and quick, then this library is a right choice for you.

Features

  • Non-POJO JSON object
  • Very easy to use
  • No dependency
  • No type casting needed
  • Only throws unchecked exception - no try and catch block required
  • Less boilerplate code

Usage

TODO

Build

Building the application is pretty easy. You will need Java 8 and Maven installed on your computer before you can build the library.

1) Clone the Github repository:

  1. git clone https://github.com/tomansill/simple-json
  2. cd simple-json

2) Build and package using Maven:

  1. mvn package

Maven will take care of everything. This creates SimpleJSON-*.*.*.jar in target directory in the project directory. You can use the .jar for your project.

License

GPL-3.0

Author

Tom Ansill