1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-16 01:08:21 +02:00
nushell/docs/commands/to_json.md
JT 8c0a2d3c15
Auto-generate markdown command docs ()
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

310 B

title layout version
to json command 0.59.0

Converts table data into JSON text.

Signature

> to json --raw

Parameters

  • --raw: remove all of the whitespace

Examples

Outputs an unformatted JSON string representing the contents of this table

> [1 2 3] | to json