user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
From: Kyle Meyer <>
To: Eric Wong <>
Subject: Re: final "null" in "lei q" JSON output
Date: Thu, 11 Mar 2021 23:22:26 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20210311224320.GA15581@dcvr>

Eric Wong writes:

> The standard JSON (not line-delimited) output is an array with
> a "null" element as the last element.
> I don't really like it, but it seems necessary if we're
> doing parallel writes to stdout and JSON doesn't allow
> trailing commas.

I dunno, it doesn't really bother me, and it seems like a fine solution
to the problem.

> So I don't think that part is considered part of the stable
> output.

I think that's fair enough.

> Maybe it could be tweaked to show stats, or something else,
> I don't know.

Nothing too useful comes to mind, but if someone does think of
something, substituting it for the trailing null makes sense to me.
Until then, my vote would be to leave the helpful creature be :)

      reply	other threads:[~2021-03-12  4:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 22:43 final "null" in "lei q" JSON output Eric Wong
2021-03-12  4:22 ` Kyle Meyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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).