Genson 1.3 release

23 views
Skip to first unread message

eugen

unread,
Apr 13, 2015, 6:02:46 PM4/13/15
to gen...@googlegroups.com
I am glad to announce that Genson 1.3 has been released!

It comes with improved Bundles for Jodatime, Jaxb, Scala and Jsonp.
Now it is also much easier to register custom instances of Genson when using it in Jax-RS based apps.

http://owlike.github.io/genson/Documentation/Extensions/

Most changes shouldn't have any impact when upgrading except the default date serialization.
In previous versions, Genson was serializing dates as a string, starting with 1.3 dates are being serialized as a long.


Core

  • Issue #49 - Wrap/Unwrap root values in an enclosing object
  • Issue #51 - Deserialize single value as list
  • Issue #50 - Improved deserializeValues usability
  • Issue #45 - Genson annotations overriding Jaxb annotations
  • Allowing user config to override bundle config
  • Fix issue #53 - NPE in ASMCreatorParameterNameResolver
  • Issue #41 - Accept to deserialize timestamps and string dates
  • Issue #36 - Automatic encoding detection (UTF-8/16/32)
  • Fixes #38 - Ser/de single byte as int instead of base64 encoded string

Scala

  • Issue #52 - Supporting releases for multiple scala versions (2.10 and 2.11) using std versioning scheme.

Jodatime

  • Issue #40 - Converters for LocalDate, LocalDateTime and LocalTime
  • Default serialization of dates as timestamp - WARN might introduce regression in user code
  • Issue #16 - Supporting JsonDateFormat annotation with Jodatime (Mutable)DateTime types

Jaxb

  • Support XmlRootElement annotation as part of Issue #49
  • Issue #46 - Improved use when mixing XmlAdapter and XmlElement

Jax-RS

  • New configuration system, making it easier to customize Genson in Jax-RS apps
  • Issue #42, #39 - Support for disabling/enabling Genson in any Jax-RS apps

Jsr 353 - Jsonp

  • Issue #36 - Automatic encoding detection (UTF-8/16/32)

Cheers,
Eugen
Reply all
Reply to author
Forward
0 new messages