I am consuming a REST Api with RestTemplate. The response I\'m getting from the API has lots of nested objects. Here\'s a little snippet as an example:
It is required that you have a default constructor without arguments.
What you can do is create one (or replace the other one if you don't really need it):
public class CustomDeserializer extends StdDeserializer {
public CustomDeserializer() {
super(Efs.class);
}
...
}