I am getting the following error I am trying to parse the following struct:
{"name" : {"values" : [3e-06, 3e-06, 3e-06], "value2" : 5e-7}}
on the c++ side, I try to unpack it into
struct name{
std::vector values;
float value2;
}
The resulting struct holds the right value2 (value2 = 5e-7), but the values are wrong (values = {3.0, 3.0, 3.0}).