nushell/docs/commands/from_json.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

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

28 lines
388 B
Markdown

---
title: from json
layout: command
version: 0.59.0
---
Convert from json to structured data
## Signature
```> from json --objects```
## Parameters
- `--objects`: treat each line as a separate value
## Examples
Converts json formatted string to table
```shell
> '{ a:1 }' | from json
```
Converts json formatted string to table
```shell
> '{ a:1, b: [1, 2] }' | from json
```