I'm struggling with the way how Moxy handles inheritance of objects.
In particular, I need to rename the default type element which Moxy adds in case of subtypes as it prevents me from having my own type field in my objects.
This question relates to the Remove "type" from JSON output jersey moxy but unfortunately, it doesn't answer my question.
I have tried to include @XmlDiscriminatorNode on my abstract class which didn't seem to make any difference in the resulting json at all.
I have also tried to remove the default moxy type element completely but without any success.