-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Jackson Release 2.9
Tatu Saloranta edited this page Oct 11, 2016
·
175 revisions
Version 2.9 development has not yet been started, as of July 2016, but will start soon.
- 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 - Per-property custom serialization inclusion (
@JsonInclude(value=Include.CUSTOM, valueFilter=MyExcluder.class) #888
- Per-property overwrite-vs-merge annotation/handling, to allow for merging of configuration information (for example) #1399
- Ability to override handling of
nullfor deserialization #1402 - Aliases, to allow migration: alternate property id names to accept (but not write) #1029
- Non-blocking JSON/Smile parser?
- Rewrite of property/creator introspection code, to resolve most open issues wrt Creator auto-detection and name-detection
- Support for
@JsonIncludeProperties(opposite of@JsonIgnoreProperties) #1296 - Allow pre-defining Object Ids; pluggable Object Id converters? #693
- "Safe"
ObjectReader,ObjectWriter; that is, ones that does NOT throw checked exceptions (wrapIOExceptions), to work better with Java 8 Streams #779 - 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.
And possibly
- Protobuf: Schema building by hand
- Comma-separated "ints in a String"
-
#103: Add
JsonInclude.Include.CUSTOM, properties for specifying filter(s) to use
-
#507: Support for default
@JsonViewfor a class -
#888: Allow specifying custom exclusion comparator via
@JsonInclude, usingJsonInclude.Include.CUSTOM -
#1035:
@JsonAnySetterassumes key ofString, does not consider declared type -
#1320: Add
ObjectNode.put(String, BigInteger) -
#1341:
DeserializationFeature.FAIL_ON_MISSING_EXTERNAL_TYPE_ID_PROPERTY - #1356: Differentiate between input and code exceptions on deserialization
-
#1369: Improve
@JsonCreatordetection viaAnnotationIntrospectorby passingMappingConfig -
#1371: Add
MapperFeature.INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIESto allow disabling use of@CreatorPropertiesas explicit@JsonCreatorequivalent