aboutsummaryrefslogtreecommitdiffstats
path: root/json/jsonwrite.cc
diff options
context:
space:
mode:
Diffstat (limited to 'json/jsonwrite.cc')
-rw-r--r--json/jsonwrite.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/json/jsonwrite.cc b/json/jsonwrite.cc
index 19c43d7c..ac54bc4e 100644
--- a/json/jsonwrite.cc
+++ b/json/jsonwrite.cc
@@ -69,10 +69,9 @@ void write_module(std::ostream &f, Context *ctx)
f << stringf(" %s: {\n", get_string(val->second.str).c_str());
else
f << stringf(" %s: {\n", get_string("top").c_str());
- // TODO: check if this is better to be separate
- /*f << stringf(" \"settings\": {");
+ f << stringf(" \"settings\": {");
write_parameters(f, ctx, ctx->settings, true);
- f << stringf("\n },\n");*/
+ f << stringf("\n },\n");
f << stringf(" \"attributes\": {");
write_parameters(f, ctx, ctx->attrs, true);
f << stringf("\n },\n");