Tuesday, 10 September 2013

JSON error. Unexpected character

JSON error. Unexpected character

My server is returning the following json object:
{"Success":0,"ex":"The system cannot find the file specified"}
When I run var response = jQuery.parseJSON(data) I get the following error:
SyntaxError: JSON.parse: unexpected character
Can someone please point me in the right direction? Thanks!

No comments:

Post a Comment