Project.php:1 Uncaught SyntaxError: Unexpected token R in JSON at position 0 at JSON.parse (<anonymous>) in jqeury code example
Example: Uncaught (in promise) SyntaxError: Unexpected token O in JSON at position 0
var stringified = JSON.stringify(data);
var parsedObj = JSON.parse(stringified);
console.log(parsedObj);