{"id":617,"date":"2023-09-03T10:01:40","date_gmt":"2023-09-03T08:01:40","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=617"},"modified":"2023-09-03T10:01:42","modified_gmt":"2023-09-03T08:01:42","slug":"gron-json-dateien-unter-linux-anpassen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/gron-json-dateien-unter-linux-anpassen\/","title":{"rendered":"Gron &#8211; JSON-Dateien unter Linux anpassen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Das Javascript-Format JSON hat sich zu einem beliebten Austausch-Format zwischen unterschiedlichen Anwendungen entwickelt. Es ist einfach aufgebaut und viele Anwendungen k\u00f6nnen damit umgehen. Hin und wieder braucht man aber doch ein anderes Format oder ganz einfach eine andere Formatierung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nat\u00fcrlich kann man, wenn man es braucht, das Format auf dem\u00a0Terminal\u00a0unter Linux mit den ben\u00f6tigten Befehlen umformatieren. Aber warum, wenn es die dazu passende Software gibt? Gron ist eine Software f\u00fcr genau diesen Zweck.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Gron installieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Unter auf Debian basierenden Linux-Distributionen installieren Sie diese Software ganz einfach \u00fcber die\u00a0Paket-Verwaltung\u00a0durch das Paket &#8222;<strong>gron<\/strong>&#8222;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ben\u00f6tigen Sie eine aktuellere Version, finden Sie entsprechende Pakete auf\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/tomnomnom\/gron\/releases\" target=\"_blank\">GitHub<\/a>. Sie brauchen nur das komprimierte Archiv entpacken und die darin befindliche ausf\u00fchrbare Datei am Terminal starten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/gron Optionen Dateiname ...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Am besten verschiebt man die ausf\u00fchrbare Datei mit\u00a0administrativen Rechten\u00a0am Terminal nach &#8222;<em>\/usr\/bin\/<\/em>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv gron \/usr\/bin\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend l\u00e4sst sich die Software aus jedem Verzeichnis heraus aufrufen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Gron nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sie nutzen diese Software auf dem Terminal, die Syntax lautet ganz einfach:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gron optionen dateiname<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Alternativ k\u00f6nnen Sie auch eine URL angeben:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gron optionen url<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Mehr wie \u00fcblich \u00fcber die Manpage der Software mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>man gron<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"633\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gron-1024x633.jpeg\" alt=\"\" class=\"wp-image-618\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gron-1024x633.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gron-300x185.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gron-768x475.jpeg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/gron.jpeg 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"617\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"617\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Das Javascript-Format JSON hat sich zu einem beliebten Austausch-Format zwischen unterschiedlichen Anwendungen entwickelt. Es ist einfach aufgebaut und viele Anwendungen k\u00f6nnen damit umgehen. Hin und wieder braucht man aber doch ein anderes Format oder ganz einfach eine andere Formatierung. Nat\u00fcrlich kann man, wenn man es braucht, das Format auf dem\u00a0Terminal\u00a0unter Linux mit den ben\u00f6tigten Befehlen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":619,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,4],"tags":[49,12,7,6],"class_list":["post-617","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-entwicklung","category-terminal","tag-entwicklung","tag-kommandozeile","tag-shell","tag-terminal"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/617\/revisions"}],"predecessor-version":[{"id":620,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/617\/revisions\/620"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/619"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}