Open jepessen opened 2 years ago
I think you'll have to read each element into a std::vector<double>
. That's what they are sending. From there you can probably use boost.fusion to convert it nicely into a struct, but unless you know boost.fusion well it's probably simpler to just write a function that does the conversion.
I made a request, and the reply body is
It's a JSON array, and every array element is an array itself, where the first value is an integer, and other five values are doubles. How can I parse it using the
IteratorFromJsonSerializer
in a struct like