| 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 |
Release 2.1 - 2007-10-08
| 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 |
Release 2.0 - 2007-07-20
| 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 |
Release 2.0a3 - 2007-07-10
| 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 |
Release 2.0a2 - 2007-06-07
| 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 |
Release 2.0a1 - 2007-05-22
| 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 |
Release 1.1 - 2007-03-31
| 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 |
Release 1.0.1 - 2007-02-27
| Type | Changes | By |
|---|
 | [Compatibility] Constructor JSONObject( String) does not
work Fixes 1670146 . | Andres Almiray |
Release 1.0 - 2007-02-11
| 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 |
Release 1.0b2 - 2007-01-20
| 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 |
Release 1.0b1 - 2006-12-18
| 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 |
Release 0.9 - 2006-10-12
| 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 |
Release 0.8 - 2006-08-29
| 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 |
Release 0.7.1 - 2006-08-09
| Type | Changes | By |
|---|
 | Json-lib had wrong class numbers for JDK 1.3.1 Fixes 1537557 . | Andres Almiray |
Release 0.7 - 2006-08-07
| Type | Changes | By |
|---|
 | Make Json-lib JDK 1.3.1 compatible Fixes 1529946 . | Andres Almiray |
Release 0.6 - 2006-07-24
| Type | Changes | By |
|---|
 | Added support for DynaBean and java bean conversions | Andres Almiray |
 | JSONArray uses
<
a
>
for root element, JSONObject uses
<
o
>
for root element | Andres Almiray |
 | Updated usage documentation | Andres Almiray |
Release 0.4 - 2006-07-11
| 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 |
Release 0.2 - 2006-07-01
| Type | Changes | By |
|---|
 | First release | Andres Almiray |