diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-28 07:26:36 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-28 07:26:36 -0700 |
commit | 6904e21fc2f939df8cb06be0ce3407d79491b0a6 (patch) | |
tree | f8466df3e7dd2977c16230753b698ceddf69f542 /chksum.h | |
parent | d13518bba592ebfa2cb471aaa47ae50d11606ff9 (diff) | |
download | txr-6904e21fc2f939df8cb06be0ce3407d79491b0a6.tar.gz txr-6904e21fc2f939df8cb06be0ce3407d79491b0a6.tar.bz2 txr-6904e21fc2f939df8cb06be0ce3407d79491b0a6.zip |
json: indentation support for printing.
* lib.c (out_json_rec): Save, establish and restore
indentation when printing [ ] and { } notation.
Enforce line breaks, and force a line break after the
object if one occurred in the object.
(out_json): Turn on indentation if it is off (but
not if it is forced off). Restore after doing the object.
Diffstat (limited to 'chksum.h')
0 files changed, 0 insertions, 0 deletions