Commit c1f7cc22 authored by aligungr's avatar aligungr

JSON utility impl.

parent 492e01c6
......@@ -115,8 +115,7 @@ static void AppendJson(const Json &json, std::stringstream &stream, int indentat
for (auto &item : json)
{
stream << indent << " " << item.first << ": ";
if (item.second.isArray())
AppendJson(item.second, stream, indentation + 1);
AppendJson(item.second, stream, indentation + 1);
if (index == json.itemCount() - 1)
stream << "\n";
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment