1

I am writing custom Serializers and Deserializer for some of my objects by implementing the Converter < FROM , TO > interface. And while at some points in Serialization I can fall back on the default behavior by simply invoking MappingMongoConverter.convertToMongoType, I am not quite sure how to invoke default Deserialization behavior from my Custom deserializer.

So, once I check the type of object that's being deserialized, and determine that it's one I don't care about (objects are in a Collection), I would like to let the default de-serialization mechanism to deal with the object. However, I am not quite able to figure out how to invoke a method on something (MappingMongoConverter?) that would do this for me.

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Alex Paransky
  • 985
  • 2
  • 10
  • 21

0 Answers0