If you have a minimized JSON file which you want to reformat, then you can install the yajl-tools package on Ubuntu:
Afterwards you are able to reformat the file with the following command:
sudo apt-get install yajl-tools
Afterwards you are able to reformat the file with the following command:
json_reformat -s < ugly.json > pretty.json
Keine Kommentare:
Kommentar veröffentlichen