Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 762 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 762 Bytes

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());