From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id AB23B1F9FD for ; Fri, 12 Mar 2021 04:22:30 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1615522948; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hGxDBOi+Jfq7rDEpGA0ki56JjTVsQ443pUzi4ouo63A=; b=UEHwppsfJ0Jlp2wCGon3Tbmw313hYpAXPLmGEyEcwk0kNJa1L1cE8xIwreyn1Cfv1m3bBU BIZePOId/H79kNcOjzeEyQVcLkJspYJz3PqPXrb9YQ8TSn2gAV69i68EPxk2OdpfQbDn/H EyEaHG0U/FzXAJA07VgiYrd7XIFX1eLlM4wkhpDpd07HUo3tao+5INmhGnxwSfJ7uTv1wA dq5rP9GfM3OpYXoDry2ObkpW/SmnXSno6tdb8amrK/6ZMVljzG4xus45uGZiI1e0imyARh rzVeLcGMS6bCV/Zmau+YEOHFDvl6ogYPgRahJJoD9c61Jauur1aBgg+SSili3w== From: Kyle Meyer To: Eric Wong Cc: meta@public-inbox.org Subject: Re: final "null" in "lei q" JSON output In-Reply-To: <20210311224320.GA15581@dcvr> References: <20210311224320.GA15581@dcvr> Date: Thu, 11 Mar 2021 23:22:26 -0500 Message-ID: <878s6t9f25.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com List-Id: 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 :)