mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 17:03:45 +01:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
28 lines
395 B
Markdown
28 lines
395 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
|
|
```
|