
12 Mar
2011
12 Mar
'11
6:02 p.m.
Sebastian Redl wrote:
On 12.03.2011, at 18:26, Kulti wrote:
It's possible to get following output from boost::property_tree::json_parser::write_json ?
{ "id": "id", "method": "test_method", "params": [] }
I know how to create array with some items, but when I try to create empty array, I've get "params": ""
Sorry, that's not possible.
If you just need JSON, you might want to have a look at JsonCpp: http://jsoncpp.sourceforge.net/ -Julian