On Mon, Aug 1, 2011 at 09:40, Sage Weil <sage@xxxxxxxxxxxx> wrote: > Heh, you forgot the link again? :) Yup, it's Monday.. https://github.com/akheron/jansson > That's basically what JSONFormatter is doing, except it has some higher > level methods for opening object vs array sections, and can add whitespace > for human readability. The only thing we'd be using here is the string > quoting. It's probably easier to just lift that method than link in an > external dependency for that. Or, fix any bugs in the current escaping... Oh most of the value I see in using a pre-existing JSON library is exactly in the test coverage. Jansson has 2600 lines of C for tests and 109 data-driven test cases.. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html