mirror of
https://github.com/nushell/nushell
synced 2025-01-04 09:18:57 +00:00
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
28 lines
388 B
Markdown
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
|
|
```
|
|
|