This module is an extension to version 3 of the GraphQL module for Drupal and and provides fields to consume arbitrary JSON data.

Example:

{
  swapi: route(path: "https://swapi.co/api/people") {
    ... on ExternalUrl {
      request {
        ... on ExternalResponse {
          json {
            ... on JsonObject {
              path(steps: ["results"]) {
                ... on JsonList {
                  items {
                    ... on JsonObject {
                      path(steps: ["name"]) {
                        ... on JsonLeaf {
                          value
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
Supporting organizations: 
Contribution of work hours

Project information

Releases