I want to know if there is some way to get the following deserializing properly:
public class MyClass {
Map<String, Serializable> map;
OtherObject object;
[...]
}
ObjectMapper mapper = new ObjectMapper();
MyClass instance = mapper.readValue(someJson, MyClass);
Currently, I'm trying and I get an exception
com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of java.io.Serializable: abstract types either need to be mapped to concrete types, have custom deserializer, or contain additional type information