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

Re: [PATCH v3] json_writer: new routines to create data in JSON format

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Mar 23, 2018, 17:18 UTC
Message-ID
<20180323171828.GD179915@aiede.svl.corp.google.com>
In-Reply-To
<20180323162952.81443-2-git@jeffhostetler.com>
git@jeffhostetler.com wrote:
Show 5 quoted lines
> From: Jeff Hostetler <jeffhost@microsoft.com>
>
> Add basic routines to generate data in JSON format.
>
> Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>

If I understand the cover letter correctly, this is a JSON-like format, not actual JSON. Am I understanding correctly?

What are the requirements for consuming this output? Will a typical JSON library be able to handle it without trouble? If not, is there some subset of cases where a typical JSON library is able to handle it without trouble?

Can you say a little about the motivation here? (I know you already put some of that in the cover letter, but since that doesn't become part of permanent history, it doesn't help the audience that matters.)

This would also be easier to review if there were an application of it in the same series. It's fine to send an RFC like this without such an application, but I think we should hold off on merging it until we have one. Having an application makes review much easier since we can see how the API works in practice, how well the approach fits what users need, etc.

Thanks and hope that helps, Jonathan

Previous: git@jeffhostetler.comNext: Jeff Hostetler
Message 3 of 7 in “routines to generate JSON data”
  1. routines to generate JSON datagit@jeffhostetler.com, Mar 23, 2018
  2. json_writer: new routines to create data in JSON formatgit@jeffhostetler.com, Mar 23, 2018
  3. Jonathan NiederMar 23, 2018
  4. Jeff HostetlerMar 23, 2018
  5. Jonathan NiederMar 23, 2018
  6. Ramsay JonesMar 23, 2018
  7. Jeff HostetlerMar 23, 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.