From f3fe4a936269378eee887a534094ca9d2fcef6db Mon Sep 17 00:00:00 2001 From: Kristopher Date: Thu, 3 Jul 2025 23:54:27 -0700 Subject: [PATCH] gron: add page (#17105) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> --- pages/common/gron.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/gron.md diff --git a/pages/common/gron.md b/pages/common/gron.md new file mode 100644 index 0000000000..0c04579693 --- /dev/null +++ b/pages/common/gron.md @@ -0,0 +1,32 @@ +# gron + +> Transform `JSON` into individual assignments for easier management. +> More information: . + +- 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}}`