Boost logo

Boost Users :

Subject: [Boost-users] [property tree][json]how to create empty array?
From: Kulti (kultihell_at_[hidden])
Date: 2011-03-12 12:26:57


Hi, all!

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": ""


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net