graphql: github.com/shurcooL/graphql/internal/jsonutil Index | Files

package jsonutil

import "github.com/shurcooL/graphql/internal/jsonutil"

Package jsonutil provides a function for decoding JSON into a GraphQL query data structure.

Index

Package Files

graphql.go

func UnmarshalGraphQL Uses

func UnmarshalGraphQL(data []byte, v interface{}) error

UnmarshalGraphQL parses the JSON-encoded GraphQL response data and stores the result in the GraphQL query data structure pointed to by v.

The implementation is created on top of the JSON tokenizer available in "encoding/json".Decoder.

Package jsonutil imports 7 packages (graph) and is imported by 1 packages. Updated 2019-01-23. Refresh now. Tools for package owners.