I am encountering the following error message:
JSON.parse: unexpected character
when I execute this code in firebug:
JSON.parse({"balance":0,"count":0,"time":1323973673061,"firstname":"howard","userId":5383,"localid":1,"freeExpiration":0,"status":false});
Why is this happening? The JSON data looks correct to me and has been validated using JSHint. The object being passed in this scenario is a server response with content type specified as application/json