Json.Pretty

JSON Pretty-printer


print : Json -> String

Pretty-print a JSON value

The result is exclusively a function of the JSON syntax tree. The formatting of the input is irrelevant. Commas are positioned at the beginning of the line.