1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 21:35:40 +02:00

gron: add page (#17105)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
Kristopher 2025-07-03 23:54:27 -07:00 committed by GitHub
parent 9f0452764b
commit f3fe4a9362
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

32
pages/common/gron.md Normal file
View file

@ -0,0 +1,32 @@
# gron
> Transform `JSON` into individual assignments for easier management.
> More information: <https://manned.org/gron>.
- Process `JSON` file into individual assignments:
`gron {{path/to/file|url}}`
- Don't sort output data:
`gron --no-sort {{path/to/file|url}}`
- Disable certificate validation:
`gron {{[-k|--insecure]}} {{url}}`
- Display values of `gron` assignments:
`gron {{[-v|--values]}} {{path/to/file|url}}`
- Turn assignments converted with `gron` back into `JSON`:
`gron {{[-u|--ungron]}} {{path/to/file|url}}`
- Process individual lines of input as separate `JSON` objects:
`gron {{[-s|--stream]}} {{path/to/file|url}}`
- Represent processed data as a `JSON` stream:
`gron {{[-j|--json]}} {{path/to/file|url}}`