JSON_REFORMAT(1)

πŸ“¦
version 2.1.0 Β· 2 versions
  • 2.1.0 Β· debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 2.1.0 Β· opensuse-leap 16.0
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

json_reformat β€” a simple json reformatting tool πŸ’… (yes bestie, that's the whole job and it does it flawlessly)


🌸 SYNOPSIS 🌸

json_reformat [options] < input-file [> output-file]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: json_reformat reads json data straight from standard input and sends the formatted version right back out to standard output. it's giving middleman but make it useful.

by default it tries to format everything for readability β€” like it's doing your json's hair and makeup before the party. and here's the vibe check: if the input file is valid, you get success (a zero result) πŸŽ€. if it's not valid, you get failure (a nonzero result) πŸ’€. no cap, that's the whole personality.


πŸ’– OPTIONS πŸ’–

  • -e β€” escape any forward slashes (this is for when you're embedding your json in HTML, so the slashes don't start drama with the parser) πŸ”₯
  • -m β€” minimize json rather than beautify. so instead of glamming it up, you're squishing it down to the bare minimum. tiny. compact. lowkey iconic.
  • -s β€” reformat a stream of multiple json entities. bc sometimes there's not just one json, there's like, a whole group chat of them πŸ“±βœ¨
  • -u β€” allow invalid UTF8 inside strings during parsing. living dangerously, love that for you πŸ™ˆ

πŸ‘‘ AUTHORS πŸ‘‘

Lloyd Hilaiel <me@lloyd.io> β€” legend, wrote the thing πŸ’œ

This manual page was written by John Stamp <jstamp@users.sourceforge.net>. Permission is granted to redistribute, use, and/or modify this document under the same terms as json_reformat itself. 🫢 (yes you can remix it, go off)


okay that's the whole page bestie, ily, go reformat something gorgeous ✨🌈 and hey β€” this was json_reformat from the General Commands Manual, json_reformat edition, Apr 2014. main character energy since 2014 fr fr πŸŽ€πŸ’