Add custom deserializers support to AbstractJackson2Decoder

Issue: SPR-15975
This commit is contained in:
Sebastien Deleuze
2017-09-25 23:17:32 +02:00
parent e927cae476
commit 74120ef00f
2 changed files with 51 additions and 1 deletions

View File

@@ -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);