Version | Date | Description |
---|---|---|
2.4 | 2010-12-14 | |
2.3 | 2009-07-11 | |
2.2.3 | 2008-12-08 | |
2.2.2 | 2008-06-07 | |
2.2.1 | 2008-02-08 | |
2.2 | 2007-12-20 | |
2.1 | 2007-10-08 | |
2.0 | 2007-07-20 | |
2.0a3 | 2007-07-10 | |
2.0a2 | 2007-06-07 | |
2.0a1 | 2007-05-22 | |
1.1 | 2007-03-31 | |
1.0.1 | 2007-02-27 | |
1.0 | 2007-02-11 | |
1.0b2 | 2007-01-20 | |
1.0b1 | 2006-12-18 | |
0.9 | 2006-10-12 | |
0.8 | 2006-08-29 | |
0.7.1 | 2006-08-09 | |
0.7 | 2006-08-07 | |
0.6 | 2006-07-24 | |
0.4 | 2006-07-11 | |
0.2 | 2006-07-01 |
Type | Changes | By |
---|---|---|
JSONObject.toBean does not process Lists Fixes 2843623. | Andres Almiray | |
Groovy script JsonGroovyBuilder not working Fixes 2652213. | Andres Almiray | |
JsonGroovyBuilder does not work from Groovy script Fixes 3022109. | Andres Almiray | |
GJson.enhanceClasses() not working Fixes 3030517. | Andres Almiray | |
Permgen memory leak with ThreadLocal Fixes 2991816. | Andres Almiray | |
JSONSerializer.toJSON().toString() -> result != source Fixes 2692698. | Andres Almiray | |
String start with "[" and end with "]" parsed error. Fixes 3047519. | Andres Almiray | |
Source is not passed to the NewBeanInstanceStrategy Fixes 2616780. | Andres Almiray | |
Binaries and source files desynchronized Fixes 3096454. | Andres Almiray | |
Sources jar not match json-lib-2.3-jdk15.jar Fixes 3052887. | Andres Almiray | |
Allow bean processors to use json-lib's default processor. Thanks to Scott Bronson(provided patch) Fixes 2131185. | Andres Almiray | |
Morphing elements in JSONArray.toCollection. Thanks to Arnout Engelen (provided patch) Fixes 2929940. | Andres Almiray | |
A string starting and ending with quotes is badly parsed. Thanks to Sascha Theves (provided patch) Fixes 2893329. | Andres Almiray | |
JsonGroovyBuilder does not work from Groovy script. Thanks to Sergey Bondarenko (provided patch) Fixes 3022114. | Andres Almiray | |
Better support for parsing numbers. Thanks to Chirag Shah (provided patch) Fixes 3123950. | Andres Almiray |
Type | Changes | By |
---|---|---|
Maps with non-String keys throw ClassCastException Fixes 2795511. | Andres Almiray | |
Incorrect event firing on cycles Fixes 2799533. | Andres Almiray | |
JSONObject Map.size() implementation is incorrect. Thanks to Earl Nolan (provided testcase) Fixes 2807279. | Andres Almiray | |
Annotation filter Fixes 2818666. | Andres Almiray | |
net.sf.json.util.JSONUtils.isFunction() locks. Thanks to Ian Wolfcat Atha (provided patch) Fixes 2817570. | Andres Almiray | |
Inconsistent license between the source file and project Fixes 2779977. | Andres Almiray | |
Support for reading both properties and public fields Fixes 2513691. | Andres Almiray | |
undefined not an acceptable parser token Fixes 2776558. | Andres Almiray | |
Allow JSONArray/JSONObject to be Serializable Fixes 2431487. | Andres Almiray | |
JsonValueProcessor not processing primitive arrays (breaking change!) Fixes 2682840. | Andres Almiray | |
Memory Leak in Cycle Detection Fixes 2665846. | Andres Almiray | |
Problems detecting an unreadable property Fixes 2565295. | Andres Almiray | |
Log level: warn vs. info for skipped properties Fixes 2792844. | Andres Almiray | |
Improve exception message on NewBeanInstanceStrategy. Thanks to Henrik Johansson (provided patch) Fixes 2790052. | Andres Almiray |
Type | Changes | By |
---|---|---|
JSONUtils not thread safe Fixes 2270596. | Andres Almiray | |
Array of Maps with null key causes exception Fixes 2383773. | Andres Almiray | |
JsonSlurper.parse(Reader) does not work correctly. Thanks to Tom Nichols (provided testcase) Fixes 2408679. | Andres Almiray | |
JavaScript functions as quoted strings in values Fixes 2140653. | Andres Almiray | |
Infinite loop in JSONArray._fromJSONTokener Fixes 2063201. | Andres Almiray | |
Performance improvement for JSONUtils.quote Thanks to Peter Schubert (provided a patch) Fixes 2020482. | Andres Almiray | |
Excludes should allow for exclusions based on class Fixes 1969942. | Andres Almiray | |
JSONArray and ListIterator Fixes 1996038. | Andres Almiray | |
Define reverse PropertyNameProcessor Fixes 1996152. | Andres Almiray | |
Add class name to skipped properties messages Fixes 2005661. | Andres Almiray |
Type | Changes | By |
---|---|---|
Inner beans not deserialized when using PropertySetStrategy Fixes 1974904. | Andres Almiray | |
JsonVerifier does not account for Short values Fixes 1984546. | Andres Almiray | |
Propagation of JsonConfig in JSONObject methods. Thanks to Ales Novy (provided a patch) Fixes 1976920. | Andres Almiray | |
Performace patch in JSONUtil. Thanks to Ales Novy (provided a patch) Fixes 1976839. | Andres Almiray | |
Json-lib cannot parse functions with more than one argument Fixes 1955163. | Andres Almiray | |
Parsing error with line break after "function()" Fixes 1952095. | Andres Almiray | |
XML/JSON roundtrip looses types Fixes 1942571. | Andres Almiray | |
Does not support xml-json rules properly Fixes 1919005. | Andres Almiray | |
Add a strategy for mutating a bean's property name Fixes 1942504. | Andres Almiray | |
Interface Fields Support Fixes 1913932. | Andres Almiray | |
Added JsonSlurper | Andres Almiray |
Type | Changes | By |
---|---|---|
Force top JSONObject while reading from XML Fixes 1889982. | Andres Almiray | |
Add a CycleDetectionStrategy that skips the property Fixes 1889973. | Andres Almiray | |
Json-lib 2.1 jar contains groovy metaclass Fixes 1843114. | Andres Almiray | |
Need configurable JsonValueProcessorMatcher Fixes 1873231. | Andres Almiray | |
Use order-preserving map in JSONObject Fixes 1858073. | Andres Almiray | |
Add a skipWhitespace flag to XMLSerializer Fixes 1875695. | Andres Almiray |
Type | Changes | By |
---|---|---|
JSONUtils.mayBeJSON is broken Fixes 1855019. | Andres Almiray | |
Add support of Sets in JSONObject.toBean Fixes 1847116. | Andres Almiray | |
Add a chained version of remove to JSONObject. | Andres Almiray | |
Initial generics support. Many thanks to Matt Small (and WaveMaker) (provided patch and tests). (rolled-back) | Andres Almiray | |
Don't require the user to register Enum morphs by hand Fixes 1832146. | Andres Almiray | |
Ignore getters annotated with @Transient. Thanks to Dan Fabulich (provided workaround) Fixes 1832041. | Andres Almiray | |
Use private no-arg constructors when available. Thanks to Dan Fabulich (provided workaround) Fixes 1832047. | Andres Almiray | |
Enums should be serialized by name(), not by String.valueOf. Thanks to Dan Fabulich (provided workaround) Fixes 1832139. | Andres Almiray | |
NewBeanInstanceStrategy ignored when you pass a root obj Fixes 1832055. | Andres Almiray | |
Extra quotes on string values with {} and [] | Andres Almiray | |
JSONArray.toArray can't transform from String[] to int[] Fixes 1828093. | Andres Almiray | |
Encoding problem of XMLSerializer#writeDocument. Thanks to Masato Nagai (provided a patch) Fixes 1819159. | Andres Almiray | |
Allow direct property acces when transforming JSON to Java. Thanks to Gino Miceli (provided a patch) Fixes 1815457. | Andres Almiray | |
Allow default value to be changed when a reference is null Fixes 1815456. | Andres Almiray | |
Allow 'type' to be parsed from XML to JSON Fixes 1813520. | Andres Almiray | |
JSONObject.toBean throws NPE with JSONArray values. Thanks to Mino Togna (provided a testcase) Fixes 1813301. | Andres Almiray | |
Byte and Short arrays throw an IllegalArgumentException Fixes 1812682. | Andres Almiray |
Type | Changes | By |
---|---|---|
Customize bean instantiation in JSONObject.toBean() Fixes 1808430. | Andres Almiray | |
Enable custom selection of JsonBeanProcessors. Fixes 1806171. | Andres Almiray | |
JSONObject/JSONArray are not thread safe. Thanks to Yee_Keat Phuah (provided a patch). Fixes 1798641. | Andres Almiray | |
Allow attribute filters on method fromObject Fixes 1789704. | Andres Almiray | |
Add support for java.sql.Date in JsDate*Processors Fixes 1785314. | Andres Almiray | |
Move JSONSerializer's configuration to JsonConfig Fixes 1784862. | Andres Almiray | |
JsonConfig should not be singleton Fixes 1784859. | Andres Almiray | |
Setter always passes in Object[]. Thanks to jcue786[at]users[dot]sourceforge[dot]net Fixes 1769578. | Andres Almiray | |
JSONArray.toArray always returns array of type Object[]. Thanks to sebthom[at]users[dot]sourceforge[dot]net Fixes 1769559. | Andres Almiray | |
JSONObject.toBean() empty string error [jettison integration]. Thanks to jcue786[at]users[dot]sourceforge[dot]net Fixes 1764768. | Andres Almiray | |
JSONObject.toBean() Error with nested bean arrays Fixes 1763699. | Andres Almiray | |
JSONObject.get() doesn't follow java.util.Map contract Fixes 1760194. | Andres Almiray |
Type | Changes | By |
---|---|---|
Bean property of type String is transformed to JSONArray. Thanks to sckimos[at]gmail[dot]com Fixes 1753528. | Andres Almiray | |
Make exceptions thrown by toBean() more explicit. Thanks to Oliver Zyngier Fixes 1751973. | Andres Almiray |
Type | Changes | By |
---|---|---|
Add JRuby support Fixes 1748029. | Andres Almiray | |
Support cycle detection in static builders Fixes 1747394. | Andres Almiray | |
JDK 1.4 compatibility. Thanks to Marcelo Liberato (provided a patch) Fixes 1746838. | Andres Almiray | |
JSONArray.put(long) not behaving properly for longs > 1L<<62. Thanks to Mathias Herberst (provided a patch) Fixes 1746272. | Andres Almiray | |
Error in Attributes conversion from xml to json in 2.0a2 Fixes 1739066. | Andres Almiray | |
Add readFromFile to XMLSerializer Fixes 1739247. | Andres Almiray |
Type | Changes | By |
---|---|---|
Added StringMetaClass for type conversion | Andres Almiray | |
Added ArrayListMetaClass for type conversion | Andres Almiray | |
Added HashMapMetaClass for type conversion | Andres Almiray | |
Add a JSONBuilder (like Grails) Fixes 1656301. | Andres Almiray | |
Add leftShift (Groovy) operator support Fixes 1728997. | Andres Almiray | |
Make JSONObject/JSONArray Comparable Fixes 1728993. | Andres Almiray | |
Support for preventing JavaScript Hijacking in web env Fixes 1693562. | Andres Almiray | |
Add SAX-like event support Fixes 1681775. | Andres Almiray | |
Added primitive support for JSONObject.accumulate() | Andres Almiray | |
JSONObject.element() will not call accumulate() as it previously did | Andres Almiray | |
Removed duplicated code on JSONObject and JSONArray | Andres Almiray |
Type | Changes | By |
---|---|---|
Renamed JSONObject.putOpt to JSONObject.elementOpt | Andres Almiray | |
Renamed JSONObject.put to JSONObject.element | Andres Almiray | |
Renamed JSONArray.put to JSONArray.element | Andres Almiray | |
Added assertNull and assertNotNull to JSONAssert | Andres Almiray | |
Skip transient field in a class Fixes 1715483. | Andres Almiray | |
Make JSONArray an implementation of java.util.List Fixes 1656299. | Andres Almiray | |
Make JSONObject an implementation of java.util.Map Fixes 1656297. | Andres Almiray | |
Add type handler support Fixes 1636658. | Andres Almiray | |
Add POGO support Fixes 1656300. | Andres Almiray | |
option to remove the double-quote around the property name Fixes 1694877. | Andres Almiray | |
JSONAssert accepts unequal JSONArrays, JSONObjects. Thanks to dcrosta[at]users[dot]sourceforge[dot]net (provided a patch) Fixes 1713184. | Andres Almiray | |
JSONUtils.stripQuotes generates an Exception. Thanks to Rodrigo Pantoni and Thomas Spiegl Fixes 1719662. | Andres Almiray | |
Optional space trimming when reading XML Fixes 1693658. | Andres Almiray | |
Optional removal of namespace prefixes when reading XML Fixes 1693654. | Andres Almiray | |
Skip namespaces when reading from XML Fixes 1693652. | Andres Almiray |
Type | Changes | By |
---|---|---|
Updated FAQ and Getting Started guide | Andres Almiray | |
Added NoopJavaIdentifierTransformer and made it the default (performs no conversion) | Andres Almiray | |
XMLSerializer can not handle namespace declarations Fixes 1690942. | Andres Almiray | |
[Regression] toBean() fails with namespaced properties Fixes 1690941. | Andres Almiray | |
Allow transformation of key values to proper Java identifier Fixes 1684034. | Andres Almiray | |
Upgrade XML support Fixes 1656551. | Andres Almiray | |
Promoted length() to JSON interface | Andres Almiray | |
Skip type information when writing XML Fixes 1679986. | Andres Almiray | |
Move child properties to parent when writing XML Fixes 1679985. | Andres Almiray | |
Allow parsing of duplicate properties Fixes 1679982. | Andres Almiray |
Type | Changes | By |
---|---|---|
[Compatibility] Constructor JSONObject( String) does not work Fixes 1670146. | Andres Almiray |
Type | Changes | By |
---|---|---|
Removed deprecated classes | Andres Almiray | |
String property incorrectly parsed as an array. Tests provided by paulfield[at]users[dot]sourceforge[dot]net & ekeogh[at]thoughtworks[dot]com Fixes 1650535. | Andres Almiray |
Type | Changes | By |
---|---|---|
Updated javadocs | Andres Almiray | |
Moved interface JSONTypes to net.sf.json.xml | Andres Almiray | |
Deprecated JSONDynaBean, JSONDynaClass & DynaBeanToBeanMorpher. Use MorphDynaBean, MorphDynaClass & BeanMorpher from EZMorph instead | Andres Almiray | |
Removed net.sf.json.util.CDL, repeated functionality | Andres Almiray | |
JSONDynaBean nested arrays not treated as an array. Test provided by arco.vandenheuvel[at]points[dot]com Fixes 1635890. | Andres Almiray | |
JSONArray does not transforms byte[], short[] and long[] Fixes 1630742. | Andres Almiray | |
JSONArray is missing validation on float[] and double[] Fixes 1630736. | Andres Almiray | |
Validate ECMAScript max & min Number values. (rolled-back) Fixes 1630258. | Andres Almiray | |
JSONArray.put does not use excludes Fixes 1622676. | Andres Almiray | |
JSONObject.put does not use excludes Fixes 1622675. | Andres Almiray | |
JSONArray does not pass excludes Fixes 1622674. | Andres Almiray |
Type | Changes | By |
---|---|---|
Added JSONAssert for easy JSON testing | Andres Almiray | |
Updated JSONFunction constructor for correct length of parameters | Andres Almiray | |
Updated javadocs and site docs | Andres Almiray | |
Only default constructors are public (JSONObject & JSONArray) | Andres Almiray | |
Class objects are converted to Strings (toJSON) and back (toJava) | Andres Almiray | |
Skip a property without write method Fixes 1614276. | Andres Almiray | |
Skip a property without read method Fixes 1614275. | Andres Almiray | |
Annotation should not be transformed Fixes 1614273. | Andres Almiray | |
Change IAEs for JSONException Fixes 1614278. | Andres Almiray | |
JSONObject tries to access Enum.getDeclaringClass() Fixes 1613402. | Andres Almiray | |
Inspect property's value type in factory methods Fixes 1611204. | Andres Almiray | |
Support different encodings on XmlSerializer Fixes 1610979. | Andres Almiray | |
JSONDynaClass allows multidimensional arrays Fixes 1608212. | Andres Almiray | |
Primitives support for JSONDynaBean Fixes 1607448. | Andres Almiray | |
Support Java 1.5 Enum in JSONObject and JSONArray Fixes 1557286. | Andres Almiray | |
JDK 1.3 RuntimeException is not nestable Fixes 1606609. | Andres Almiray | |
Add printer friendly methods to JSON interface Fixes 1602386. | Andres Almiray | |
JSONArray fails to convert an array of BigDecimals/BigInteger Fixes 1596168. | Andres Almiray | |
Nested Lists were not handled properly in JSONObject.toBean() Fixes 1592799. | Andres Almiray |
Type | Changes | By |
---|---|---|
Added FAQ and "Who is using it" sections | Andres Almiray | |
Added new JSONSerializer utility class | Andres Almiray | |
Added new interface JSON to identify a valid JSON type (JSONObject, JSONArray, JSONNull) | Andres Almiray | |
Added support for JSONString in builders and value setters | Andres Almiray | |
Removed JSONObject.append() as it was very similar to JSONObject.accumulate() | Andres Almiray | |
JSONObject and JSONarray will convert Byte/Short/Long to Integer, Float to Double when needed | Andres Almiray | |
JSONArray.fromObject now allows creation of a single element array (all valid types) | Andres Almiray | |
Cleaned up the core API, moved mixed purpouse classes to net.sf.json.util | Andres Almiray | |
Updated front page and howto documentation | Andres Almiray | |
Multiple nested JSONException Fixes 1564992. | Andres Almiray | |
JSONObject.toBean() generates a ClassCastException Fixes 1553617. | Andres Almiray |
Type | Changes | By |
---|---|---|
Refactored converter package into EZMorph (http://ezmorph.sourceforge.net) | Andres Almiray | |
Added RegexpUtils for easy regexp handling | Andres Almiray | |
Added more tests | Andres Almiray | |
Updated "Getting Started" documentation | Andres Almiray | |
Moved RegexpMatchers to package net.sf.json.regexp | Andres Almiray | |
Perl5RegexpMatcher is missing a return statement Fixes 1543117. | Andres Almiray | |
JSONObject.toBean must handle interfaces Fixes 1542104. | Andres Almiray | |
JSONObject.toBean can not process all nested beans Fixes 1542092. | Andres Almiray | |
JSONArray did not create multidimensional arrays correctly Fixes 1540196. | Andres Almiray | |
JSONObject's fromObject() and fromBean() did not support DynaBeans properly Fixes 1540137. | Andres Almiray | |
XmlSerializer writes wrong JSONFunction data Fixes 1538330. | Andres Almiray | |
JSONObject.fromObject() does not work properly when passed a boolean as parameter in JVM 1.5+ Fixes 1538095. | Andres Almiray |
Type | Changes | By |
---|---|---|
Json-lib had wrong class numbers for JDK 1.3.1 Fixes 1537557. | Andres Almiray |
Type | Changes | By |
---|---|---|
Make Json-lib JDK 1.3.1 compatible Fixes 1529946. | Andres Almiray |
Type | Changes | By |
---|---|---|
Added support for DynaBean and java bean conversions | Andres Almiray | |
Updated the XML generated by XMLSerializer. JSONArray uses <a> for root element, JSONObject uses <o> for root element | Andres Almiray | |
Updated usage documentation | Andres Almiray |
Type | Changes | By |
---|---|---|
Added test suites for each package and for full project | Andres Almiray | |
Support js functions as type Fixes 1516306. | Andres Almiray | |
Moved common methods of JSONObject, JSONArray to JSONUtils | Andres Almiray | |
Renamed XML to XMLSerializer. Now uses XOM to parse documents | Andres Almiray | |
Moved common assertion methods to Assertions (tests) | Andres Almiray | |
Deleted HTTP related classes | Andres Almiray |