mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 06:05:27 +02:00
Allow user to specify the indentation setting on the pretty flag for the to json command (#1818)
* Allow user to specify the indentation setting on the pretty flag for the to json command * Use "JSON" over "json"
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
# to json
|
||||
|
||||
Converts table data into json text.
|
||||
Converts table data into JSON text.
|
||||
|
||||
## Flags
|
||||
|
||||
* `-p`, `--pretty`: Formats the json text
|
||||
* `-p`, `--pretty` \<integer>: Formats the JSON text with the provided indentation setting
|
||||
|
||||
## Example
|
||||
|
||||
|
Reference in New Issue
Block a user