Projects / svenson

svenson

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.

Licenses
Implementation

Recent releases

  •  15 Feb 2010 12:42

    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.

    •  01 Nov 2009 10:53

      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.

      •  14 Oct 2009 00:11

        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.

        •  26 Jul 2009 14:02

          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.

          •  19 Apr 2009 16:06

            Release Notes: Support was added for object factories and for parsing JSON from a stream. Large improvements were made to memory consumption.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.