Let\'s say that I have a domain class :
public class Zoo{ private List animals; ....
where an Animal is a
There is a simpler annotation out now:
@JsonRootName("dog") public class Dog extends Animal {...}
The reference to the annotation can be found on fasterxml.github