Skip to content

Jackson3 Changes

Tatu Saloranta edited this page Feb 22, 2017 · 32 revisions

Proposed Jackson 3.0 API changes

JVM/JDK Compatibility

  • Jackson 3.x will require and be based on Java 8
    • with possible exception of jackson-core and jackson-annotations (?)

Module structure

  • Embed some/all Java8 modules
    • Embed "parameter names", "datatypes" (Optional)
    • Need to think of Java 8 date/time module (size)

API Entities to deprecate/remove/embed

  • ContextualSerializer / ContextualDeserializer, ResolvableSerializer/ResolvableDeserializer`
    • just embed as part of JsonSerializer / JsonDeserializer, with no-op implementation

Major API change areas:

  • JsonNode needs major rework; can do binary-incompatible return value changes

Changes to defaults

(will require wiki sub-page)

  • DeserializationFeature
    • FAIL_ON_UNKNOWN_PROPERTIES: change default to false?
  • Other
    • Check defaults of date/time handling

Features to Remove

Jackson-core: Format Auto-Detection

Clone this wiki locally