JSON processors

1.Jackson is a High-performance JSON processor.


References:
http://jackson.codehaus.org/
http://wiki.fasterxml.com/JacksonHome
How to convert Java object to / from JSON
http://www.mkyong.com/java/how-to-convert-java-object-to-from-json-jackson/
http://www.cowtowncoder.com/blog/archives/2008/12/entry_121.html

2.Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of.

References:
http://code.google.com/p/google-gson/

3.JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans.
It is based on the work by Douglas Crockford in http://www.json.org/java

References:
http://json-lib.sourceforge.net/

评论

此博客中的热门博文

XML, XSL, HTML

Input in element.eleme.io

How do I load binary image data using Javascript and XMLHttpRequest?