Am 21.01.2013 20:48, schrieb Dicebot:

Json input = parseJsonString("{\"key\" : \"value\"}");
Appender!string output;
toPrettyJson(output, input);
writefln("%s", output.data);

toPrettyJson actually does not look like a convenience function. More like a primitive for efficient
Json-to-string serialization that can be probably used for "prettier" one. Funny to mention that
documentation references some "toPrettyJSON" that is supposed to do additional indentation, but it
is nowhere to be found.

I've actually stumbled over that myself some days ago (that it's not convenient when all you want is
a string). There is a second 'overload' string toPrettyJson(in Json) now (typo also fixed).