Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse error with apparently valid JSON #22

Open
PSF1 opened this issue Jul 1, 2021 · 0 comments
Open

Parse error with apparently valid JSON #22

PSF1 opened this issue Jul 1, 2021 · 0 comments

Comments

@PSF1
Copy link

PSF1 commented Jul 1, 2021

I have this JSON:

{
"query":"query {
	form.test-graphql {
		_id
		field_name
		field_date
		field_number
	}
","variables":{},"operationName":null}

That is validated and loaded by jsonviewer.

But, with JSONCompare I get this error:

Parse error on line 2: {"query":"query { form.test-
 ---------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

What could be the problem?

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant