boost access float array from JSON data
Try this:
BOOST_FOREACH(ptree::value_type &v, pt.get_child("dvm_gnd.value")) { float value = v.second.data();}
I'm sure you've moved on by now, but in case someone else comes across this, ptree puts those array values as children with a blank name, so the code you want looks something like:
BOOST_FOREACH(const ptree::value_type &v, pt.get_child("dvm_gnd.value")) { float value = v.second.get<float>("");}
Or you can use the optional or default value version of get