diff --git a/types.d b/types.d index c9cd2be..3f7b5bf 100644 --- a/types.d +++ b/types.d @@ -465,7 +465,7 @@ public: else f.writeln(); } - f.writeln(" ],\n \"structs\" : ["); + f.writeln(" ],\n \"unions\" : ["); foreach(i, un; unions) { un.writeJSONTo(f, indent + 1);