You are here: PSPad forum > English discussion forum > How to use JSON pretty print

How to use JSON pretty print

#1 How to use JSON pretty print

Posted by: brolx | Date: 2019-12-18 11:29 | IP: IP Logged

I cannot find the way to use this formatting.
Although I load JSON.ini, JSON doesn't show in the list of formats.
When I click on "JSON pretty print", nothing happens.
What's the point I'm missing?
Thanks a lot for helping me

Options: Reply | Quote | Up ^


#2 Re: How to use JSON pretty print

Posted by: pspad | Date: 2019-12-18 13:06 | IP: IP Logged

Hello

Let only JSON code in the editor Window. If you let it surrounded e.g. by HTML code, reformat can't be done.
Reformat takes JSON, parsing it and it means code must be valid.

Edited 1 time(s). Last edit at 2019-12-18 13:07 by pspad.

Options: Reply | Quote | Up ^


#3 Re: How to use JSON pretty print

Posted by: brolx | Date: 2019-12-18 13:42 | IP: IP Logged

Indeed, thanks

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2020 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR