ERROR SyntaxError: "JSON.parse: unexpected character at line 1 column 1 of the JSON data"
Below my code :
this.MyService.getToken(this.Token).subscribe(result=> {
this.TokenData=result;
});
Note:In getToken() i calling one web service and this service return data in below format
Token( { "action" : "PE", "data" : "11111111111111" } )
How to resolve this ?