What's wrong with my JSON?

Posted by Ronald on Stack Overflow See other posts from Stack Overflow or by Ronald
Published on 2010-04-09T21:45:22Z Indexed on 2010/04/09 21:53 UTC
Read the original article Hit count: 310

Filed under:
|

Anybody out there notice anything wrong with this JSON? It validates at JSONLint.com, but neither Chrome nor Firefox's native JSON parse functions will properly parse it.

Any ideas?

{
        "result": "{\"players\":[{\"name\":\"User 522\",\"turn\":true,\"score\":0},{\"name\":\"User 925\",\"turn\":false,\"score\":5}],\"enableControls\":false}",
        "error": "null",
        "id": "7"
}

© Stack Overflow or respective owner

Related posts about JSON

Related posts about json-decode