https://bugzilla.wikimedia.org/show_bug.cgi?id=31331

--- Comment #3 from Krinkle <[email protected]> 2012-05-14 08:37:48 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > In the backend FormatJson can be used, including an option to prettify
> > whitespace.
> 
> What option? I haven't seen any readily available pretty-printer for JSON yet.

Check out how API outputs format=jsonfm. There is an boolean parameter to
FormatJson::encode that triggers pretty-print (the function documentation is
vague about this but it has been this way for a while now).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to