I am suffering from burnout messing with this backlashes...
I made a POST request in C++ and receive the following string:
"{\"results\": [{\"sku\": \"peds-std-us\", \"url\": \"https://d2y247jlvj8usn.cloudfront.net/1/2014.06.12/upload test.xlsx\", \"version\": \"2014.06.12\"}]}"
Then I process it like a rapidjson
document but I get Parse Errors.
Document document;
if(document.Parse(results.c_str()).HasParseError()){
return 1;
}
I tried removing the begin and end ""
like this
{\"results\": [{\"sku\": \"peds-std-us\", \"url\": \"https://d2y247jlvj8usn.cloudfront.net/1/2014.06.12/upload test.xlsx\", \"version\": \"2014.06.12\"}]}
Same problem...
Does anyone know what could be the problem?