Trying to skip one level when generating Json from wrapper class that contains two classes
So I have this domain class in a spring boot app for a REST API, that contains two subdomain objects: public class Maximize { private Profit profit; private Stats stats; ... The generated JSON looks like this: { "profit": {…