user160820
user160820

Reputation: 15200

json error message, can't see the SyntaxError

I am getting this JSON object from server

{status:"OK", response:"Thank you! .........."}

but on parsing the json i am getting this error message

SyntaxError: missing ; before statement.

I am getting the same error if i paste this json in FF console.

Upvotes: 0

Views: 65

Answers (1)

Ondrej Svejdar
Ondrej Svejdar

Reputation: 22054

Try

{"status":"OK", "response":"Thank you! .........."}

Upvotes: 2

Related Questions