]> git.notmuchmail.org Git - notmuch/commit
show: Convert JSON format to the new self-recursive style
authorAustin Clements <amdragon@MIT.EDU>
Mon, 20 Feb 2012 00:26:24 +0000 (19:26 -0500)
committerDavid Bremner <bremner@debian.org>
Thu, 1 Mar 2012 12:27:25 +0000 (08:27 -0400)
commit44d9656cbf51ade90e372eadbf3542de83549c74
tree4838d1a9fa0b544fc24d69e9c331e16eab22264f
parent6e25ea031fc43dd3a6a9ff00f33526fdd3abc92a
show: Convert JSON format to the new self-recursive style

As before, this is all code movement and a smidgen of glue.  This
moves the existing JSON formatter code into one self-recursive
function, but doesn't change any of the logic to take advantage of the
new structure.

In general, "leafs" of the JSON structure are left in helper functions
(most of them untouched), so that it's easy to see the overall
structure of the format from the main recursive function.
notmuch-show.c