git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v9] json_writer V9

From
Ggit@jeffhostetler.com <git@jeffhostetler.com>
Date
Jun 12, 2018, 20:22 UTC
Message-ID
<20180612202201.94733-1-git@jeffhostetler.com>
From: Jeff Hostetler <jeffhost@microsoft.com>

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
Next: git@jeffhostetler.com
Message 1 of 4 in “json_writer V9”
  1. json_writer V9git@jeffhostetler.com, Jun 12, 2018
  2. json_writer: new routines to create JSON datagit@jeffhostetler.com, Jun 12, 2018
  3. Eric SunshineJun 12, 2018
  4. Junio C HamanoJun 12, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.