Allow specifying whether top level elements should be comma separated

This commit is contained in:
ktkk 2026-06-05 15:16:02 +00:00
parent 0a0a6d918d
commit e2ba1175db
10 changed files with 310 additions and 8 deletions

View file

@ -4,7 +4,7 @@
int main()
{
auto json = json_init(stdout, INDENT_2);
auto json = json_init(stdout, MINIFIED, false);
json_begin_object(&json);
{