Skip to main content

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​

InputTypeRequiredDefaultWhat it is
ValueAnyNoList of dictionaries, or JSON text (or use an open JSON session).
PathStringNoPath of the array inside the document; the whole document when empty.
FlattenBooleanNofalseTurn nested objects into dotted columns, e.g. customer.name.
SessionStringNoWork on the document of this JSON session (Start session) instead of a value; changes stay in the session until End session saves them.

Outputs​

OutputTypeWhat it is
tableTableTable with one row per object.