I have used this
var jsonData = {"hello": 20};
while passing this to graphql query
products:jsonData
it fails with this error
Validation error of type WrongType: argument 'input.products' with value 'StringValue{value='{hello: 20}'}' is not a valid 'AWSJ
ps help