Skip to content

Jackson Release 2.7.4

Kim, Joo Hyuk edited this page Oct 12, 2023 · 3 revisions

Patch version of 2.7, released on April 29, 2016. Following fixes were included.

Changes, core

  • #209: Make use of _allowMultipleMatches in FilteringParserDelegate
  • #1178: @JsonSerialize(contentAs=superType) behavior disallowed in 2.7
  • #1186: SimpleAbstractTypeResolver breaks generic parameters
  • #1189: Converter called twice results in ClassCastException
  • #1191: Non-matching quotes used in error message for date parsing
  • #1194: Incorrect signature for generic type via `JavaType.getGenericSignature
  • #1195: JsonMappingException not Serializable due to 2.7 reference to source (parser)
  • #1198: Problem with @JsonTypeInfo.As.EXTERNAL_PROPERTY, defaultImpl, missing type id, NPE

Changes, dataformats

  • #39: Byte arrays are represented as strings in generated avro schema
  • #178: Problem with polymorphic serialization, inclusion type of As.WRAPPER_OBJECT, extra tag
  • #190: Ensure that defaults for XMLInputFactory have expansion of external parsed general entities disabled
  • #191: Strange behaviour of an empty item (but with whitespace between start/end tags) in List

Changes, datatypes

  • #31: Support @JsonSerialize(contentUsing=) and @JsonDeserialize(contentUsing=) for Optional
  • #34: Fix OptionalSerializer.isEmpty() from an incorrect class cast exception
  • #68: Handle JSON serialized Dates from JavaScript in LocalDateTimeDeserializer
  • #76: Use InvalidFormatException for deserialization parse failures

Changes, JAX-RS

  • #80: Non-JSON providers don't support custom MIME types with extensions

Changes, other modules

  • #4: Serialization with Afterburner causes Java VerifyError for generic with String as type
  • #8: Problem with Optional<T>, AtomicReference<T> valued properties
  • #33: Calls to Executable.getParameters() should guard against MalformedParametersException
  • #252: Upgrade Option support to use ReferenceType
Clone this wiki locally