Dear Json-lib users,
I'm pleased to announce that Json-lib version 2.0 has been released.
There are many bug fixes and feature enhancements, most notably custom serialization,
Groovy/JRuby support and enhanced xml processing.
Many thanks to people that contributed bug reports, patches and tests.
Feedback is always appreciated.
Changelog:Added StringMetaClass for type conversionAdded ArrayListMetaClass for type conversionAdded HashMapMetaClass for type conversionAdded primitive support for JSONObject.accumulate()JSONObject.element() will not call accumulate() as it previously didRemoved duplicated code on JSONObject and JSONArrayRenamed JSONObject.putOpt to JSONObject.elementOptRenamed JSONObject.put to JSONObject.elementRenamed JSONArray.put to JSONArray.elementAdded assertNull and assertNotNull to JSONAssert1753528 Bean property of type String is transformed to JSONArray. Thanks to sckimos[at] gmail[dot]com 1751973 Make exceptions thrown by toBean() more explicit. Thanks to Oliver Zyngier1748029 Add JRuby support1747394 Support cycle detection in static builders1746838 JDK 1.4 compatibility. Thanks to Marcelo Liberato (provided a patch)1746272 JSONArray.put(long) not behaving properly for longs > 1L < < 62. Thanks to Mathias Herberst (provided a patch)
1739066 Error in Attributes conversion from xml to json in 2.0a21739247 Add readFromFile to XMLSerializer1728997 Add a JSONBuilder (like Grails)1728997 Add leftShift (Groovy) operator support1728993 Make JSONObject/JSONArray Comparable1683562 Support for preventing JavaScript Hijacking in web env1681775 Add SAX-like event support1715483 Skip transient field in a class1656299 Make JSONArray an implementation of java.util.List1656297 Make JSONObject an implementation of java.util.Map1636658 Add type handler support1656300 Add POGO support1694877 option to remove the double-quote around the property name1713184 JSONAssert accepts unequal JSONArrays, JSONObjects. Thanks
to dcrosta[at] users[dot]sourceforge[dot] net (provided a patch)1719662 JSONUtils.stripQuotes generates an Exception. Thanks to Rodrigo Pantoni and Thomas Spiegl1693658 Optional space trimming when reading XML1693654 Optional removal of namespace prefixes when reading XML1693652 Skip namespaces when reading from XML
Llama gratis a cualquier PC del mundo.
Con una excelente calidad de sonido.
http://mx.messenger.yahoo.com/ |