I'm making a Json object like this :
Poco::JSON::Object obj;
obj.set("EncryptedKeyString", encryptedKey);
obj.set("EncryptedIVString", encryptedIV);
obj.set("EncryptedString", str_encrypted_base64);
obj.set("SignedDataString", signature);
and then stringifying it like this:
std::stringstream ss8;
obj.stringify(ss8);
std::ostream& o = session.sendRequest(req);
std::cout << ss8.str() << std::endl;
the result is this when printing
"EncryptedKeyString":"EWakRvh\/hY2oQ2Jburma\/jRzwrh
I don't understand why it's making these \, it is supposed to be like this :
"EncryptedKeyString":"EWakRvh/hY2oQ2Jburma/jRzwrh
Does anyone know how to fix this?