1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 15:35:25 +02:00
tldr/pages/common/gron.md
Kristopher f3fe4a9362
gron: add page (#17105)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-07-04 09:54:27 +03:00

32 lines
743 B
Markdown

# 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}}`