From: Jeff Hostetler <jeffhost@xxxxxxxxxxxxx> Here is V9 of my json-writer patches. Please replace the existing V5..V8 versions with this one. This version has been rebased onto v2.18.0-rc1 rather than 2.17 because of changes to the test-tool setup. I've incorporated all of the suggestions on the V8 version, including Eric's suggestion to make the test tool read test data from stdin rather than using command line arguments. I also incorporated Eric's PERLJSON lazy prereq suggestion and squashed the perl unit test into the main commit. Jeff Hostetler (1): json_writer: new routines to create JSON data Makefile | 2 + json-writer.c | 414 ++++++++++++++++++++++++++++++++ json-writer.h | 105 +++++++++ t/helper/test-json-writer.c | 564 ++++++++++++++++++++++++++++++++++++++++++++ t/helper/test-tool.c | 1 + t/helper/test-tool.h | 1 + t/t0019-json-writer.sh | 331 ++++++++++++++++++++++++++ t/t0019/parse_json.perl | 52 ++++ 8 files changed, 1470 insertions(+) create mode 100644 json-writer.c create mode 100644 json-writer.h create mode 100644 t/helper/test-json-writer.c create mode 100755 t/t0019-json-writer.sh create mode 100644 t/t0019/parse_json.perl -- 2.9.3