Language.GraphQL.JSON
Description
JSON serialization.
newtype JSON Source #
Wraps an aeson value.
Constructors
Defined in Language.GraphQL.JSON
Methods
parseJSON :: Value -> Parser JSON #
parseJSONList :: Value -> Parser [JSON] #
toJSON :: JSON -> Value #
toEncoding :: JSON -> Encoding #
toJSONList :: [JSON] -> Value #
toEncodingList :: [JSON] -> Encoding #
serialize :: forall (m :: Type -> Type). Type m -> Output JSON -> Maybe JSON #
null :: JSON #
coerceVariableValue :: Type -> JSON -> Maybe Value #
graphql Source #
Arguments
Resolvers.
Operation name.
Variables.
Text representing a GraphQL request document.
GraphQL
Response.
If the text parses correctly as a GraphQL query the query is executed using the given Schema.
Schema