json output using mercurial templates

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Nov 23 01:36:33 CST 2010

On Fri, Nov 19, 2010 at 23:04, Haszlakiewicz, Eric
<EHASZLA at transunion.com> wrote:
> Has anyone thought about trying to create templates that create output like this?

Yes, I've tried it a couple of times. Unfortunately, some things about
the JSON format are relatively hard to get right with our current
templater. Notably, the requirement that the last element of a JSON
list or object is not followed by a comma.



More information about the Mercurial mailing list