powered by
Parses GraphQL queries and exports the AST in JSON format.
graphql2json(input, parse_schema = FALSE)
a string with graphql syntax
boolean to enable schema definition parsing
graphql2json("{ field(complex: { a: { b: [ $var ] } }) }") graphql2json("schema { query: QueryType }", TRUE)
Run the code above in your browser using DataLab