SyntaxError: JSON.parse: Unexpected Non-whitespace Character After JSON Data At Line 1 Column 92 Of The JSON Data In Javascript
I am new to JavaScript and AJAX. I am getting the below error: SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 92 of the JSON data in
Solution 1:
The response you're returning is probably not in JSON format. The most common issue is not adding quotes in object keys.
According to the data you're sending, you're actually sending several concatenated JSONs (several arrays not encapsulated and not separated with commas).
this should be [[...],[...],[...]]
instead of [...][...][...]
as you have now.
Post a Comment for "SyntaxError: JSON.parse: Unexpected Non-whitespace Character After JSON Data At Line 1 Column 92 Of The JSON Data In Javascript"