Malformed JSON in file: db.json Unexpected token m in JSON at position 87 in Angulare 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);