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) #888

Planned

  1. Per-property overwrite-vs-merge annotation/handling, to allow for merging of configuration information (for example) #1050
  2. Ability to override handling of null for deserialization #1269
  3. Aliases, to allow migration: alternate property id names to accept (but not write)
  4. Non-blocking JSON/Smile parser?
  5. Rewrite of property/creator introspection code, to resolve many open issue wrt Creator auto-detection and name-detection
  6. Support for @JsonIncludeProperties (opposite of @JsonIgnoreProperties)
  7. Allow pre-defining Object Ids; pluggable Object Id converters?
  8. Protobuf: Schema building by hand
  9. "Safe" ObjectReader, ObjectWriter; that is, ones that does NOT throw checked exceptions (wrap IOExceptions), to work better with Java 8 Streams
  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
  • #1341: DeserializationFeature.FAIL_ON_MISSING_EXTERNAL_TYPE_ID_PROPERTY
  • #1356: Differentiate between input and code exceptions on deserialization
  • #1369: Improve @JsonCreator detection via AnnotationIntrospector by passing MappingConfig
  • #1371: Add MapperFeature.INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES to allow disabling use of @CreatorProperties as explicit @JsonCreator equivalent

Clone this wiki locally