git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH v5] routines to generate JSON data
@ 2018-03-27 21:02 git
  2018-03-27 21:02 ` [PATCH v5] json_writer: new routines to create data in JSON format git
  0 siblings, 1 reply; 3+ messages in thread
From: git @ 2018-03-27 21:02 UTC (permalink / raw)
  To: git; +Cc: gitster, peff, l.s.r, wink, ramsay, Jeff Hostetler

From: Jeff Hostetler <jeffhost@microsoft.com>

This is version 5 of my JSON data format routines.

This version address the uint64_t vs intmax_t formatting issues
that were discussed on the mailing list.  I removed the jw_*_int()
and jw_*_uint64() routines and replaced them with a single
jw_*_intmax() routine.

Also added a jw_release() routine similar to strbuf_release()
and fixed the indentation of sub-array when pretty printing is
enabled.

The following PR includes my WIP telemetry changes that build
upon the json-writer routines and demonstrates how they might
be used.  The first commit in this PR is this patch.

     https://github.com/jeffhostetler/git/pull/11


Jeff Hostetler (1):
  json_writer: new routines to create data in JSON format

 Makefile                    |   2 +
 json-writer.c               | 394 ++++++++++++++++++++++++++++++
 json-writer.h               |  91 +++++++
 t/helper/test-json-writer.c | 572 ++++++++++++++++++++++++++++++++++++++++++++
 t/t0019-json-writer.sh      | 253 ++++++++++++++++++++
 5 files changed, 1312 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

-- 
2.9.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-27 22:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-27 21:02 [PATCH v5] routines to generate JSON data git
2018-03-27 21:02 ` [PATCH v5] json_writer: new routines to create data in JSON format git
2018-03-27 22:03   ` Wink Saville

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).