unexpected token o in json at position 1 at json.parse ( anonymous ) code example Example: "SyntaxError: Unexpected token o in JSON at position 1 var newData = JSON.stringify(userData)