If I understood correctly, interfaces would help to make sure that e.g. a method consuming one of my objects only takes ones with the correct properties. And by that I would make sure, that I don’t accidentally use wrong or incomplete responses from slightly different endpoints. Correct?
What strategy would I use to go from the JSON to the actual objects if I choose to go with classes because “logic” might actually be nice? Is there some clever way to transform these JSON thingies I get into proper objects (or lists of objects)?