Skip to content

Jackson Release 2.3

Tatu Saloranta edited this page Feb 28, 2014 · 28 revisions

Version 2.3 was released in November, 2013. It is a "minor" release following 2.2, meaning that it adds new functionality but be backwards compatible with earlier 2.x releases.

Changes: compatibility

Regarding compatibility: while initial decision had been made to require JDK 1.6 as the baseline, team decided to make an exception for version 2.3.2, so that old Android versions could use it -- basically this means that some changes were reverted for just that version. 2.4 will not have such work-arounds.

Changes: packaging

Another packaging change was to reduce amount of debug information for core (streaming, annotations, databind) packages. While this did result in significant reduction in jar sizes (20-25% smaller), it did lead to problems with developers: 2.4 will revert to full debug information for the default jars, and we will try to figure out a way to offer alternative 'minimal' packages with no debug information.

Changes: functional, high-level

Changes, core

Changes, core: jackson-annotations

  • #13: Add @JsonPropertyDescription (mostly to support descriptions in JSON Schema)

Changes, core: streaming (jackson-core)

  • #8 Add methods in JsonParser/JsonGenerator for reading/writing "native" Object Ids (initially, to support YAML anchors, aliases)
  • #47: Support YAML-style comments with JsonParser.Feature.ALLOW_YAML_COMMENTS
  • #60: Add feature JsonParser.Feature.STRICT_DUPLICATE_DETECTION to allow strict verification of uniqueness of property names during streaming parsing.
  • #91: Add methods in JsonParser/JsonGenerator for reading/writing "native" Type Ids (initially, to support YAML "tags")

Changes, core: data-binding

  • #215: Allow registering CharacterEscapes via ObjectWriter
  • #227: Allow registering "general" Enum serializers, deserializers, via SimpleModule
  • #237: Add DeserializationFeature.FAIL_ON_READING_DUP_TREE_KEY to throw JsonMappingException on duplicate keys, tree model (JsonNode)
  • #238: Allow existence of overlapping getter, is-getter (choose 'regular' getter)
  • #269: Add support for new @JsonPropertyDescription via AnnotationIntrospector
  • #270: Add SerializationFeature.USE_EQUALITY_FOR_OBJECT_ID to allow use of equality (instead of identity) for figuring out when to use Object Id

Changes, Data Formats

Changes, Data Types

Changes, JAX-RS

Changes, Other modules

Clone this wiki locally