JSON-GLIB-FORMAT(1)
π JSON-GLIB-FORMAT π
okay bestie, so this is the manual for json-glib-format, and it lives in the text processing section of the manual pages, iykyk. it's the JSON Formatting Tool. that's literally the whole vibe. let's go π¦
β¨ NAME β¨
json-glib-format β the JSON Formatting Tool, aka your new bestie for making ugly JSON look cute πΈ
β¨ SYNOPSIS β¨
json-glib-format [OPTIONS...] <FILE> [<FILE>...]
β¨ DESCRIPTION β¨
so here's the tea π« json-glib-format gives you a super simple command line interface for formatting JSON data. it reads a list of URIs, applies the formatting rules you specified, and then outputs the formatted JSON to the standard output β or to a file if that's more your vibe.
the resources it's gonna operate on? those are the ones you hand it in the FILE argument. no FILE, no formatting, periodt.
β¨ OPTIONS β¨
-h,--helpβ prints a help message and then dips. classic. π--output=FILEβ redirects the output intoFILEinstead of just spilling it onto the standard output. very "I have a designated folder for this" of you.-p,--prettifyβ prettifies the output by adding spaces and indentation. this one is iconic for making JSON data actually readable to human eyes π at the expense of its size. bigger file, prettier file, that's the trade, no cap.--indent-spaces=SPACESβ changes how many spaces get used to indent the JSON data, from the default of2. > heads up bestie: this one is only considered if you also used--prettify. otherwise it's just sitting there, ignored, minding its own business π
π SEE ALSO π
π AUTHOR π
Emmanuele Bassi
so yeah, that's the whole page, and the manual itself is JSON-GLIB-FORMAT(1) β that's the source/version tag and the whole reason we're here. go forth and prettify responsibly, bestie π β¨π
π¦ where this page comes from
- arch rolling: json-glib 1.10.8-1 Β· LGPL-2.1-or-later
- debian trixie: json-glib-tools 1.10.6+ds-2
- fedora 43: json-glib-devel 1.10.8-1.fc43 Β· LGPL-2.1-or-later
- fedora 43: json-glib-devel 1.10.8-1.fc43 Β· LGPL-2.1-or-later
- fedora 43: json-glib-devel 1.10.8-4.fc43 Β· LGPL-2.1-or-later
- fedora 43: json-glib-devel 1.10.8-4.fc43 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: json-glib-devel 1.10.6-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: json-glib-devel 1.10.6-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: json-glib-devel 1.10.6-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: json-glib-devel 1.10.6-160000.3.2 Β· LGPL-2.1-or-later
- ubuntu questing: json-glib-tools 1.10.8+ds-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms