Skip to content

Parse error with apparently valid JSON #22

@PSF1

Description

@PSF1

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions