【发布时间】:2015-09-29 05:09:35
【问题描述】:
我尝试使用 ptree 在 c++ 中获取键的值,以获得具有多个 .在键中。
所以我有 json,
"product": {
"product.description.text": "Some text here"
}
我试着打电话
std::string product = pt.get_value("product.product.description.text");
但无法获得价值。 请帮帮我
【问题讨论】: