Hopefully someone can help me out here. I'm using Casablanca on Windows Phone 8, and have the following issue.
json::value v;
v[L"Hello"] = json::value::string(U("World"))
client.request(methods::POST,L"",v.to_string(),L"applications/json").then[](http_response response) {
// more code here
}
Delivers the following to my server:
{u'Hello' : u'World'}
Which is not valid JSON. Is there any special magical incantations I need to use to correctly format the data for uploading?
json::value v;
v[L"Hello"] = json::value::string(U("World"))
client.request(methods::POST,L"",v.to_string(),L"applications/json").then[](http_response response) {
// more code here
}
Delivers the following to my server:
{u'Hello' : u'World'}
Which is not valid JSON. Is there any special magical incantations I need to use to correctly format the data for uploading?