Skip to content

Json paring error in web client #4467

@VictorNine

Description

@VictorNine

What version of Dgraph are you using?

Latest
Built at 2019-12-22T11:05:43.246Z
Commit: a8d7358
Commit Info: a8d7358 Sun Dec 22 13:02:31 2019 +0200 (HEAD -> master, origin/master, origin/HEAD)

Running in docker (standalone)

Have you tried reproducing the issue with the latest release?

It's the latest

What is the hardware spec (RAM, OS)?

Manjaro linux

Steps to reproduce the issue (command/config used to run Dgraph).

Running a mutation with the json below in the web console throws an error

{
  set:[{
     test: "testing",
}
]
}

Error:
Error: t: while lexing { set:[{ test: "testing", } ] } at line 2 column 5: Unrecognized character inside mutation: U+003A ':'

Expected behaviour and actual result.

Expected it to load the data

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