https://github.com/kyu28/jsonfmt.sh
Format JSON with POSIX Shell
https://github.com/kyu28/jsonfmt.sh
json posix-sh posix-shell shell shell-script
Last synced: 3 months ago
JSON representation
Format JSON with POSIX Shell
- Host: GitHub
- URL: https://github.com/kyu28/jsonfmt.sh
- Owner: kyu28
- License: mit
- Created: 2025-03-04T07:38:29.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-03-04T07:44:37.000Z (3 months ago)
- Last Synced: 2025-03-04T08:32:55.533Z (3 months ago)
- Topics: json, posix-sh, posix-shell, shell, shell-script
- Language: Shell
- Homepage:
- Size: 0 Bytes
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsonfmt.sh
Format JSON with POSIX Shell# Usage
```sh
printf '%s\n' '{"num":-0.123e+5,"str":"hello world!","obj":{"key":1},"arr":[1,"aab",null],"escape":"\"\\\/\b\f\n\r\t\u002f","bool": true}' | ./jsonfmt.sh
```