summaryrefslogtreecommitdiffstats
path: root/tests/006/freeform-5.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-10-11 20:47:27 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-10-11 20:47:27 -0700
commitaa02bc7f31edabb9e09f9756d7ae8fbc41995017 (patch)
tree60bd97475501b9c8484f3804a5ac5d409113d373 /tests/006/freeform-5.expected
parent5df51b54116d4287df161c42ca0edb16fb1f79a5 (diff)
downloadtxr-aa02bc7f31edabb9e09f9756d7ae8fbc41995017.tar.gz
txr-aa02bc7f31edabb9e09f9756d7ae8fbc41995017.tar.bz2
txr-aa02bc7f31edabb9e09f9756d7ae8fbc41995017.zip
json: support standard-style formatting.
* stream.c (standard_k, print_json_format_s): New symbol variables. (stream_init): New variables initialized. * stream.h (enum json_fmt): New enum. (standard_k, print_json_format_s): Declared. * lib.c (out_json_rec): Take enum json_fmt param, and pass it recursively. Printing for vector and dictionaries reacts to argument value. (out_json, put_json): Examine value of special var *print-json-format* and calculate enum json_fmt value from this. Pass to out_json_rec. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'tests/006/freeform-5.expected')
0 files changed, 0 insertions, 0 deletions