mu: support json output directly

Allow for dumping json directly from the Sexp structures, so we don't
need any external libs (i.e. json-glib) anymore.
This commit is contained in:
Dirk-Jan C. Binnema
2020-10-26 18:39:56 +02:00
parent f2e87ea2d4
commit d2aa1f91b0
10 changed files with 93 additions and 66 deletions

View File

@ -147,7 +147,7 @@ print_expr (const char* frm, ...)
static void
print_expr (const Sexp& sexp)
{
print_expr ("%s", sexp.to_string().c_str());
print_expr ("%s", sexp.to_sexp_string().c_str());
}
static void