boost::property_tree::ptree解析json数组
json数组如下:
{"var_name":"var1","positions":[0.1,0.1,0.1,0.1,0.1,0.1]},;
代码:
#include <boost/property_tree/ptree.hpp>
#include <boost/p
原创
2018-10-10 13:07:47 ·
5207 阅读 ·
2 评论