nushell/docs/commands/from_json.md

395 B

title layout version
from json command 0.59.1

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

> '{ "a": 1 }' | from json

Converts json formatted string to table

> '{ "a": 1, "b": [1, 2] }' | from json