svenson is a JSON generator/parser that allows you to convert JSON data sets into graphs of Java objects and vice-versa. It supports the whole range of just using collection classes for your Java object graphs or your own types or something in between, like your own types with Java properties and dynamic properties. svenson offers a set of annotations and interfaces that give you fine-grained control over how JSON is generated or parsed.
Release Notes: Support was added for Set and Collection for JSONTypeHint. The replacement interfaces were overhauled, and now find the best replacement match. Array support was added. Svenson now properly regards the initial type mapping to enable SubType-Matched parsing from JSON root. Svenson no longer reads ignored properties.
Release Notes: This version adds support for non-annotation based TypeConversion, a SinkAwareJSONifier for sink based JSONifying, and JSON generated default ignore properties. There are minor API changes that are not binary but source compatible. A copy constructor was added to JSONParser that creates a copy of the JSONParser with the same configuration.
Release Notes: Minor changes and bugfixes were made to stabilize a version of svenson for the new jcouchdb releases. JSONConfig was added to represent both a parser and a generator configuration. Path matching based on the previous type hint was enabled. A sub type parse path matcher was added. A nasty TypeConversion bug where type conversion only worked in some very special cases was fixed.
Release Notes: Support for streaming output was added. An alternative type mapper ClassNameBasedTypeMapper has been added. @JSONConverter annotation allows you to convert bean properties. PathMatcher has been added for flexible type hints and type mappers. About 20% better JSON parser performance when parsing into map/list graphs.
Release Notes: Support was added for object factories and for parsing JSON from a stream. Large improvements were made to memory consumption.