Hi all,
How to make my json file as pretty format? I am having json file which is have everything in single line. I want it to be formatted manner.
Any help will be highly appreciable.
Thanks,
Hi all,
How to make my json file as pretty format? I am having json file which is have everything in single line. I want it to be formatted manner.
Any help will be highly appreciable.
Thanks,
Flag this post as spam/abuse.
I am having progress version 10.2b. And the file I am getting from somewhere else and i just want to make this file pretty formatted by using any progress function or method before reading....I am not going to use the write-json() method.
I am having progress version 10.2b. And the file I am getting from somewhere else and i just want to make this file pretty formatted by using any progress function or method before reading....I am not going to use the write-json() method.
Flag this post as spam/abuse.
Hello,
Just a quick suggestion.
If you need to do this process programmatically, you could probably use Node.js and use the JSON object.
The JSON.stringify() has a parameter to format the JSON output.
If you do not need to do it programmatically, could use http://jsonlint.com/
Are you using a custom parser? Why do you need to format the JSON before reading?
I hope this helps.
I need some code written in progress 4gl (open edge 10.2b) not in jquery or javascript.