The way to get deserializer may not correct in the "TypeUtils.cast" method , this will resulting some derserializer not be found when doing cast;
please simply change the code below ;
final ObjectDeserializer objectDeserializer = config.getDeserializers().get(clazz);
---->
final ObjectDeserializer objectDeserializer = config.getDeserializer(clazz);
1条答案
按热度按时间xvw2m8pv1#
Could you provide some more information? (such as the version you're using)
And it would be good if you can provide a simple scenario that can reproduce this failure :)