I have this error in JSON that I can not understand. This is my return on console:
SyntaxError: JSON Parse error: Unrecognized token '
I have this error in JSON that I can not understand. This is my return on console:
SyntaxError: JSON Parse error: Unrecognized token '
The error refers to the format of your JSON
. The JSON#parse
function requires the parameter to be a% with% valid. Check the contents of your JSON
variable and validate if it is a valid object. One tool for validation is this.responseText
.