Add custom deserializers support to AbstractJackson2Decoder
Issue: SPR-15975
This commit is contained in:
@@ -116,7 +116,7 @@ public abstract class AbstractJackson2Decoder extends Jackson2CodecSupport imple
|
||||
|
||||
return tokens.map(tokenBuffer -> {
|
||||
try {
|
||||
return reader.readValue(tokenBuffer.asParser());
|
||||
return reader.readValue(tokenBuffer.asParser(getObjectMapper()));
|
||||
}
|
||||
catch (InvalidDefinitionException ex) {
|
||||
throw new CodecException("Type definition error: " + ex.getType(), ex);
|
||||
|
||||
Reference in New Issue
Block a user