Rapidjson , get a value inside an array of another array Rapidjson , get a value inside an array of another array json json

Rapidjson , get a value inside an array of another array


Note that "data" is an array of arrays. If you want to retrieve what you said above, try this:

const rapidjson::Value& b = d["data"];for (rapidjson::SizeType i = 0; i < b.Size(); i++){    const rapidjson::Value& c = b[i];    printf("%s \n",c[rapidjson::SizeType(0)]);    printf("%.20f \n",c[rapidjson::SizeType(1)]);}