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

[PATCH v10] json_writer V10

From
Ggit@jeffhostetler.com <git@jeffhostetler.com>
Date
Jun 13, 2018, 13:14 UTC
Message-ID
<20180613131430.13674-1-git@jeffhostetler.com>
From: Jeff Hostetler <jeffhost@microsoft.com>

Here is V10 of my json-writer patch. I fixed the DEVELOPER=1 warnings that Eric pointed out and refactored the indent_pretty() code as Junio suggested.

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 | 565 ++++++++++++++++++++++++++++++++++++++++++++
 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, 1471 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 2 in “json_writer V10”
  1. json_writer V10git@jeffhostetler.com, Jun 13, 2018
  2. json_writer: new routines to create JSON datagit@jeffhostetler.com, Jun 13, 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.