I want to reflect a JSON string like the following to a single std::vector<Point>
:
[
{
"X": 113.80403039339605,
"Y": 22.652868779963439,
"Z": 113.80403039339605
},
{
"X": 113.80403464036024,
"Y": 22.652860696903234,
"Z": 113.80403464036024
}
]
The std::vector
is not a member of a class.
I haven't found this kind of string in the official examples of json_serialization. What should I do?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…