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:
parent
9f0452764b
commit
f3fe4a9362
1 changed files with 32 additions and 0 deletions
32
pages/common/gron.md
Normal file
32
pages/common/gron.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue