On 3/20/2018 1:42 AM, Jeff King wrote:
On Mon, Mar 19, 2018 at 06:19:26AM -0400, Jeff Hostetler wrote:
To make the above work, I think you'd have to store a little more state.
E.g., the "array_append" functions check "out->len" to see if they need
to add a separating comma. That wouldn't work
On Sat, Mar 17, 2018 at 12:00:26AM +0100, Ævar Arnfjörð Bjarmason wrote:
>
> On Fri, Mar 16 2018, Jeff King jotted:
>
> > I really like the idea of being able to send our machine-readable output
> > in some "standard" syntax for which people may already have parsers. But
> > one big hangup with
On Mon, Mar 19, 2018 at 06:19:26AM -0400, Jeff Hostetler wrote:
> > To make the above work, I think you'd have to store a little more state.
> > E.g., the "array_append" functions check "out->len" to see if they need
> > to add a separating comma. That wouldn't work if we might be part of a
> > ne
On 3/17/2018 3:38 AM, Jacob Keller wrote:
On Fri, Mar 16, 2018 at 2:18 PM, Jeff King wrote:
3. Some other similar format. YAML comes to mind. Last time I looked
(quite a while ago), it seemed insanely complex, but I think you
could implement only a reasonable subset. OTOH, I th
On 3/16/2018 5:18 PM, Jeff King wrote:
On Fri, Mar 16, 2018 at 07:40:55PM +, g...@jeffhostetler.com wrote:
[...]
I really like the idea of being able to send our machine-readable output
in some "standard" syntax for which people may already have parsers. But
one big hangup with JSON is t
On Fri, Mar 16, 2018 at 2:18 PM, Jeff King wrote:
> 3. Some other similar format. YAML comes to mind. Last time I looked
> (quite a while ago), it seemed insanely complex, but I think you
> could implement only a reasonable subset. OTOH, I think the tools
> ecosystem for parsing J
On Fri, Mar 16 2018, Jeff King jotted:
> I really like the idea of being able to send our machine-readable output
> in some "standard" syntax for which people may already have parsers. But
> one big hangup with JSON is that it assumes all strings are UTF-8.
FWIW It's not UTF-8 but "Unicode chara
On Fri, Mar 16, 2018 at 07:40:55PM +, g...@jeffhostetler.com wrote:
> This patch series adds a set of utility routines to compose data in JSON
> format into a "struct strbuf". The resulting string can then be output
> by commands wanting to support a JSON output format.
>
> This is a stand a
From: Jeff Hostetler
This patch series adds a set of utility routines to compose data in JSON
format into a "struct strbuf". The resulting string can then be output
by commands wanting to support a JSON output format.
This is a stand alone patch. Nothing currently uses these routines. I'm
cur
9 matches
Mail list logo