Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A high performance JSON library for java
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/commons/json
README.md

README.md

commons.json is a high performance JSON library for java and it also makes you easy to use JSON in your project.

yuanyan.cao@gmail.com

Features

  • serialize & deserialize
  • cache supported

Goals

  • high performance
  • cleaner api
  • lightwight
  • all KISS

High Performance

Example

Java Object to JSON:

String json = Json.serialize(object);

JSON to Java Object:

Object object = Json.deserialize(string);

Set CacheProvider

Json.setCacheProvider(new LinkedHashMapCacheProvider());    
Something went wrong with that request. Please try again.