HTTP 404 Blog

PHP/Drupal/Linux stuff which helps me out.

Montag, 11. Juli 2016

Easily re-format JSON files with the yajl-tools Ubuntu package

If you have a minimized JSON file which you want to reformat, then you can install the yajl-tools package on Ubuntu:

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


Eingestellt von Unknown um 08:35
Diesen Post per E-Mail versendenBlogThis!Auf X teilenIn Facebook freigebenAuf Pinterest teilen

Keine Kommentare:

Kommentar veröffentlichen

Neuerer Post Älterer Post Startseite
Abonnieren Kommentare zum Post (Atom)

Über mich

Unknown
Mein Profil vollständig anzeigen

Blog-Archiv

  • ▼  2016 (31)
    • ▼  Juli (11)
      • Sync a complete website to remote server quickly b...
      • Sync a complete website to remote server quickly b...
      • Sync a complete website to remote server quickly b...
      • Linux: See specific processes
      • Installing free of charge SSL certificate from Let...
      • MySQL: Import database dump
      • Git: Changing remote repository from one to the other
      • MySQL: dump database and compress it with Gzip
      • Drupal 8: Execute automated tests and debug them i...
      • Linux: Get the size of a folder in an easily reada...
      • Easily re-format JSON files with the yajl-tools Ub...
    • ►  Juni (3)
    • ►  Mai (4)
    • ►  April (3)
    • ►  März (4)
    • ►  Februar (2)
    • ►  Januar (4)
  • ►  2015 (5)
    • ►  Dezember (2)
    • ►  Juli (3)
  • ►  2014 (2)
    • ►  Dezember (2)
Design "Einfach". Powered by Blogger.