GraphQL schema equivalent of this Json?
问题 I'm newbie to GraphQL, and was wondering if someone could help me figure out what is the equivalent of below JSON into GraphQL schema: [ { "id": "1", "name": "A", "fldDef": [ { "name": "f1", "type": "str", "opt": false }, { "name": "f2", "type": "bool" }] }, { "id": "2", "name": "B", "fldDef": [ { "name": "f3", "type": "str", "opt": true }, { "name": "f4", "type": "str", "opt": true }] } ] So far I managed to map above response to below object: public class FldDef { private String name, type;