-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Jackson Release 2.3
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.
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.
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.
-
#13: Add
@JsonPropertyDescription
(mostly to support descriptions in JSON Schema)
-
#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")
-
#215: Allow registering
CharacterEscapes
viaObjectWriter
-
#227: Allow registering "general" Enum serializers, deserializers, via
SimpleModule
-
#237: Add
DeserializationFeature.FAIL_ON_READING_DUP_TREE_KEY
to throwJsonMappingException
on duplicate keys, tree model (JsonNode
) - #238: Allow existence of overlapping getter, is-getter (choose 'regular' getter)
-
#269: Add support for new
@JsonPropertyDescription
viaAnnotationIntrospector
-
#270: Add
SerializationFeature.USE_EQUALITY_FOR_OBJECT_ID
to allow use of equality (instead of identity) for figuring out when to use Object Id
(TO BE COMPLETED FROM INDIVIDUAL RELEASE NOTES)