Json-lib 2.4 released

Posted by: Andres Almiray on 2010-12-14 06:05:00.0
Dear Open Source Community,
I'm pleased to announce that Json-lib version 2.4 has been released.

Download | Documentation | Faq | Changes

JSON-lib is a java library for transforming beans, maps 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.

Chang elog:
  • 2843623 JSONObject.toBean does not process Lists
  • 2652213 Groovy script JsonGroovyBuilder not working
  • 3022109 JsonGroovyBuilder does not work from Groovy script
  • 3030517 GJson.enhanceClasses() not working
  • 2991816 Permgen memory leak with ThreadLocal
  • 2692698 JSONSerializer.toJSON().toString() -> result != source
  • 3047519 String start with "[" and end with "]" parsed error
  • 2616780 Source is not passed to the NewBeanInstanceStrategy
  • 3096454 Binaries and source files desynchronized
  • 3052887 Sources jar not match json-lib-2.3-jdk15.jar
  • 2131185 Allow bean processors to use json-lib's default processor. Thanks to Scott Bronson(provided patch)
  • 2929940 Morphing elements in JSONArray.toCollection. Thanks to Arnout Engelen (provided patch)
  • 2893329 A string starting and ending with quotes is badly parsed. Thanks to Sascha Theves (provided patch)
  • 3022114 JsonGroovyBuilder does not work from Groovy script. Thanks to Sergey Bondarenko (provided patch)
  • 3123950 Better support for parsing numbers. Thanks to Chirag Shah (provided patch)
Additionally, the project source has moved to Github -> https://github.com/aalmiray/Json-lib/.
be the first to rate this blog

About Andres Almiray

Andres Almiray

Andres is a Java/Groovy developer with more than 10 years of experience in software design and development. He has been involved in web and desktop application developments since the early days of Java. He has also been teacher of computer science courses in the most prestigious education institute in Mexico. His current interests include Groovy, Scala and Swing. He is a true believer of open source and has participated in popular projects like Groovy, Griffon, JMatter and DbUnit, as well as starting his own projects (Json-lib, EZMorph, GraphicsBuilder, JideBuilder). Founding member of the Griffon framework.

He likes to spend time with his beloved wife, Ixchel, when not hacking around.

More About Andres »

NFJS, the Magazine

2010-12-01 00:00:00.0 Issue Now Available
  • Functional Programming in Java
    by Ted Neward
  • On mini-languages and Clojure
    by Raju Gandhi
  • Testing in Scala
    by Daniel Hinojosa
  • An Introduction to Node.JS
    by James Carr
Learn More »