Is it possible to dump a two-dimensional array to "[[null],[1,2,3]]"? #1146
Labels
kind: question
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Is it possible to dump a two-dimensional array to "[[null],[1,2,3]]"?
I tried the code below:
my_json j;
std::vector a[2];
std::vector a1;
a1.push_back(1);
a[1] = a1;
j["a"] = a;
The output is:
{"a":[[],[1]]}
Is it possible to dump a two-dimensional array to "[[null],[1,2,3]]"?
The text was updated successfully, but these errors were encountered: