-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Jackson Release 2.10
Version 2.10 is under development, as of late-October 2018. It will potentially be the last 2.x minor release.
No changes planned so far.
First official version of the jackson-datatype-eclipse-collections (for Eclipse Collections was introduced in 2.10 (preview version included since 2.9.5)
None
Much of additional functionality mirrors changes that 3.0 developments are making, in form that will get some of the benefits, and should ease migration to 3.0.
Although full moved to immutable factories, mappers, by (only) using builder-style construction will only be included in 3.0, 2.10 does introduce builder-pattern itself (but does not force strict immutability beyond what 2.x API supports). The main benefits of this addition are:
- Easier migration to 3.0 since change to builder-based construction can be made in 2.10 already
- More convenient configurability; ability to expose format-specific configuration beyond simple on/off features
Example of builder style:
// TO BE WRITTEN-
core#433: Add Builder pattern for creating configured Stream factories
-
core#467: Create
JsonReadFeatureto move JSON-specificJsonParser.Features to -
core#480:
SerializableStringvalue can not directly render to Writer (requested by Philippe M) -
core#481: Create
JsonWriteFeatureto move JSON-specificJsonGenerator.Features to -
core#484: Implement
UTF8JsonGenerator.writeRawValue(SerializableString)(andwriteRaw(..)) more efficiently -
core#495: Create
StreamReadFeatureto move non-json specificJsonParser.Features to -
core#496: Create
StreamWriteFeatureto take over non-json-specificJsonGenerator.Features
-
databind/#1954: Add Builder pattern for creating configured
ObjectMapperinstances- also add
JsonMapperas explicit type, through which builders are created and that exposes json-specific configuration
- also add
-
databind/#2059 Remove
finalmodifier forTypeFactory(requested by Thibaut R) -
databind/#2115: Support naive deserialization of
Serializablevalues as "untyped", same asjava.lang.Object - databind/#2116: Make NumberSerializers.Base public and its inherited classes not final (requested by Édouard M)
-
databind/#2126:
DeserializationContext.instantiationException()throwsInvalidDefinitionException -
databind/#2153: Add
JsonMapperto replace genericObjectMapperusage