[fpc-pascal] pretty print json output

Michael Van Canneyt michael at freepascal.org
Tue May 17 13:12:35 CEST 2016



On Tue, 17 May 2016, Graeme Geldenhuys wrote:

> Hi,
>
> Does fpjson support an option to “pretty print” (neatly indent)
> generated JSON output?

Yes.
   FormatJSON()

It is documented.

Michael.


More information about the fpc-pascal mailing list