@Skee wrote:
Hello,
I have a strange problem:
I upload a file to my server with FileTransfer and i want to process the response of the server on the client.
The response is this string: "{"error":false,"new_name":"596108fe2b63d7.14487709.jpg"}"
But when i run JSON.parse on this string i get an "SyntaxError: Unexpected token in JSON at position 0".If i run an external validation on this string, it is valid to be used as JSON
Anyone has an idea, whats the problem here?
Thanks
Skee
Posts: 1
Participants: 1