Skip to content

Jackson Release 2.9

Tatu Saloranta edited this page Sep 30, 2016 · 175 revisions

Version 2.9 development has not yet been started, as of July 2016, but will start soon.

New Modules, status changes

Changes: compatibility

Major features of 2.9

Implemented

  1. Add separate exception type for "pojo configuration problem" (InvalidDefinitionException), distinct from "json input" problem; in general to distinguish between bad configuration (server-side issue) and bad data (client issue) #1356

Under construction

  1. Per-property custom serialization inclusion (@JsonInclude(value=Include.CUSTOM, valueFilter=MyExcluder.class)

Planned

  1. Per-property overwrite-vs-merge annotation/handling, to allow for merging of configuration information (for example) #1269
  2. Aliases, to allow migration: alternate property id names to accept (but not write)
  3. Non-blocking JSON/Smile parser?
  4. Rewrite of property/creator introspection code, to resolve many open issue wrt Creator auto-detection and name-detection
  5. Support for @JsonIncludeProperties (opposite of @JsonIgnoreProperties)
  6. Allow pre-defining Object Ids; pluggable Object Id converters?
  7. Protobuf: Schema building by hand
  8. "Safe" ObjectReader, ObjectWriter; that is, ones that does NOT throw checked exceptions (wrap IOExceptions), to work better with Java 8 Streams
  9. Ability to override handling of null for deserialization
  10. A way to force a supertype as type id to use during serialization: this is needed to avoid deserialization problems for things like concrete Hibernate collection type.

Change list

Changes, core

  • #103: Add JsonInclude.Include.CUSTOM, properties for specifying filter(s) to use
  • #1356: Differentiate between input and code exceptions on deserialization

Clone this wiki locally