Convert to table
Turn a JSON list of records into a table: each key becomes a column, each record a row.
Command in the JSON toolkit · id ooa.json/to_table · 4 inputs, 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Value | Any | No | List of dictionaries, or JSON text (or use an open JSON session). | |
| Path | String | No | Path of the array inside the document; the whole document when empty. | |
| Flatten | Boolean | No | false | Turn nested objects into dotted columns, e.g. customer.name. |
| Session | String | No | Work on the document of this JSON session (Start session) instead of a value; changes stay in the session until End session saves them. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Table with one row per object. |