1
我嘗試使用ptree在C++中爲具有多個鍵名的鍵名提取值的值。在鍵中。從cson中使用ptree在C++中獲取值如果鍵名帶點(。)
所以我有JSON,
"product": {
"product.description.text": "Some text here"
}
我打過電話
std::string product = pt.get_value("product.product.description.text");
,但不能得到的價值。 請幫我
謝謝你,它的工作原理 –