graphql2json | R Documentation |
Parses GraphQL queries and exports the AST in JSON format.
graphql2json(input, parse_schema = FALSE)
input |
a string with graphql syntax |
parse_schema |
boolean to enable schema definition parsing |
graphql2json("{ field(complex: { a: { b: [ $var ] } }) }") graphql2json("schema { query: QueryType }", TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.