From: Austin Clements Date: Mon, 20 Feb 2012 00:26:24 +0000 (-0500) Subject: show: Convert JSON format to the new self-recursive style X-Git-Tag: 0.13_rc1~184 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;ds=sidebyside;h=44d9656cbf51ade90e372eadbf3542de83549c74;hp=44d9656cbf51ade90e372eadbf3542de83549c74;p=notmuch 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. ---