Hello,
I am playing a bit with http_listener and json and I get a resulting JSON that doesn't look right. The code is pretty simple:
```
web::json::value jVoices;
jVoices[L"voices"] = web::json::value::array();
request.reply(web::http::status_codes::OK, jVoices);
```
The output is:
{"voices":]}
it should be
{"voices":[]}
Is this a bug?
Thanks,
Pedro
Comments: Duplicate, fixed in 2.0 as well.
I am playing a bit with http_listener and json and I get a resulting JSON that doesn't look right. The code is pretty simple:
```
web::json::value jVoices;
jVoices[L"voices"] = web::json::value::array();
request.reply(web::http::status_codes::OK, jVoices);
```
The output is:
{"voices":]}
it should be
{"voices":[]}
Is this a bug?
Thanks,
Pedro
Comments: Duplicate, fixed in 2.0 as well.