Custom deserialization of List using Jackson
问题 I am trying to write a custom deserializer in order to trim down a big set of data I receive from somewhere else. I return a List of custom objects from the deserializer. My question is, how do I do that, if this is my custom deserializer : public class MyCustomDeserializer extends JsonDeserializer<List<CustomClass>> { ... } I certainly can't do this : final SimpleModule module = new SimpleModule(); module.addDeserializer(List<CustomClass>.class, new MyCustomDeserializer()); Will something