I have some JSON with a handful of integer array variables, like so:
{\"a\": [8, 6, 2], \"b\": [2, 2, 1]}
I would like to use boost propert
Read your a list as follows:
a
#include BOOST_FOREACH(boost::property_tree::ptree::value_type &v, pt.get_child("a.")) { cout << v.second.data() << endl; }