I´m receiving a message that I have to parse to create a JSON object from a .NET application in javascript, but when I parse the message using the following instructions:
var messagePropertiesString = JSON.stringify(messageObject.json);
var messageProperties = JSON.parse(messagePropertiesString);
The results contains a backslash, so I´m not able to convert it to a JSon object since it has the backslash.
{\"TravelNumber\":1,\"Unit\":\"g\",\"Weight\":0}
How can I remove the extra backslash?
JSON.stringify.JSON.parseshould decode the escapes. What is the original message?