the problem is with coach, goalkeepers and defender like entity I don’t know how to make a class for this kind of response Answer When creating Java POJO for a json schema you just need to map the fields. For your problem we can something like this. Similarly we can make classes for GoalKeeper,.. ,so that they map the fields
Advertisement
Tag: jsonschema2pojo
Advertisement