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
JHJeff Hostetler <git@jeffhostetler.com>
Date
Mar 23, 2018, 19:33 UTC
Message-ID
<6b27b09b-727d-1c3f-c311-5cf6c9bafb4f@jeffhostetler.com>
In-Reply-To
<20180323171828.GD179915@aiede.svl.corp.google.com>
On 3/23/2018 1:18 PM, Jonathan Nieder wrote:
Show 15 quoted lines
> git@jeffhostetler.com wrote:
> 
>> 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?

I'll add text to the commit message and the .h file explaining the Unicode limitation in the next reroll.

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

I'll add a note about that to the commit message. Thanks.

Show 7 quoted lines
> 
> 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.

That's fine. I'm planning to push up another patch series next week that builds upon this, so hopefully that will help.

> 
> Thanks and hope that helps,
> Jonathan

Thanks, Jeff

Previous: Jonathan NiederNext: Jonathan Nieder
Message 4 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.