]> granicus.if.org Git - json-c/commit
When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and closing curly...
authorEric Haszlakiewicz <erh+git@nimenees.com>
Sat, 30 Jul 2022 19:27:14 +0000 (19:27 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Sat, 30 Jul 2022 19:27:14 +0000 (19:27 +0000)
commit9749b0cb66b32ddac4bbbca28dd9009968722a9f
treeb95232e9864cc3c81b9915b46d492c21da88e7ff
parent2e9b7456a5608efbd49fd4c4b51cb6ed7b63cc15
When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and closing curly or square braces on same line for empty objects or arrays.  Issue #778.
ChangeLog
json_object.c
tests/test1.c
tests/test1.expected
tests/test1Formatted_plain.expected
tests/test1Formatted_pretty.expected
tests/test1Formatted_spaced.expected
tests/test1Formatted_spaced_pretty.expected
tests/test1Formatted_spaced_pretty_pretty_tab.expected