AST building #2

Merged
TopchetoEU merged 74 commits from TopchetoEU/ast-building into master 2022-10-28 11:58:03 +00:00
Showing only changes of commit f58eb14a00 - Show all commits

View File

@ -10,6 +10,7 @@ namespace ppc::data::json {
out << '[';
for (const auto &el : val.array()) {
if (el.is_null()) continue;
if (!first) out << ',';
first = false;
out << stringify(el);
@ -21,6 +22,7 @@ namespace ppc::data::json {
out << '{';
for (const auto &el : val.map()) {
if (el.second.is_null()) continue;
if (!first) out << ',';
first = false;
out << '"' << el.first << '"' << ':' << stringify(el.second);