Flatten Json

Flatten JSON allows you to flatten json strings in selected columns from a table.

Flatten JSON offers the ability to flatten JSON objects in one JSON column into new broken out columns in your dataset. You can also select the max level to flatten if you want to flatten to deeper levels in the JSON string.




Column - column in dataset with JSON string

Max Level to Flatten (optional) - max number of levels to normalize. If none, normalizes all levels

Table with original columns and new flattened JSON columns.


Let's say we have a table with a "Hierarchy" column that contains JSON strings:

We can choose to flatten the "Hierarchy" column and will get the following result with a new "Category" column:

Last updated