Infoveave Data Automation — Pivot & Transpose
A column holding a JSON array of objects becomes individual rows with proper columns — each array element in its own place, ready to filter and aggregate.
APIs and databases commonly embed related collections inside a single column as a JSON array. Order line items, product attributes, sensor readings, and event sequences are often returned as an array of objects in a single response column rather than as a separate relational table. Flatten JSON Array expands those embedded arrays by converting each object in the array into its own row, with the object properties becoming individual columns. The result is a properly normalized relational table where every element that was inside the array column is now its own queryable row.
Expand a JSON array column into individual rows in Infoveave. Convert embedded JSON arrays returned from APIs, NoSQL exports, or event logs into a flat, queryable row-per-element table.
Flatten JSON Array is one step inside a multi-step Infoveave workflow. Chain it with other activities — no code, no manual hand-offs.
Build this workflow visually in Infoveave Data Automation — drag, connect, and schedule with no infrastructure setup.
Real scenarios where this transformation saves hours of manual work.
An e-commerce operations team ingests order records from a platform API. Each order row has a line_items column containing a JSON array where each object in the array represents a purchased product with its own SKU, quantity, and price properties. Flatten JSON Array expands each line item object into its own row, adding SKU, quantity, and price as flat columns. The team can then filter, aggregate, and report on individual product performance without unpacking the nested arrays manually.
A manufacturing team exports a product configuration dataset where each product row includes an attributes column containing a JSON array of configuration variants — each with an attribute name and value. Flatten JSON Array expands each attribute object into its own row with Attr as a column, allowing the team to filter by specific attribute types, count attribute combinations per product, and join against specification reference tables.
A DevOps team processes application performance logs where each log record contains an events column holding a JSON array of metric events captured during the session. Flatten JSON Array expands the events into individual rows with event type, timestamp, and value as separate columns. The team can then filter by event type, aggregate metric values over time, and alert on threshold breaches — all without custom parsing code in their pipeline.
Input data (left) is transformed using the configuration below. The output table (right) is ready for dashboards or downstream steps.
AttributesInput Data
| ProductID | ProductName | Attributes |
|---|---|---|
| P001 | Widget Alpha | Attr: A1 | Attr: A2 |
| P002 | Widget Beta | Attr: B1 | Attr: B2 | Attr: B3 |
Output Data
| ProductID | ProductName | Attr |
|---|---|---|
| P001 | Widget Alpha | A1 |
| P001 | Widget Alpha | A2 |
| P002 | Widget Beta | B1 |
| P002 | Widget Beta | B2 |
| P002 | Widget Beta | B3 |
Key fields to configure in the Infoveave workflow builder. Full reference available in the documentation.
JSON Columns
Select the columns that contain JSON array strings. Infoveave parses the JSON array in each selected column and creates one row per array element. The properties of each array element object become flat columns on the output row. The original parent row's other columns are duplicated onto each expanded row — the same behavior as Fold an Array, but applied to JSON array strings rather than native array types.
Row duplication
All non-expanded columns from the original parent row are duplicated on every row generated from that parent's array elements. This preserves the join key — such as OrderID or ProductID — alongside each expanded child row, maintaining the parent-child relationship in the flat output without needing a separate join step.
Everything you need to know about Flatten JSON Array in Infoveave.
Transformations in the same family as Flatten JSON Array, often chained together in the same Infoveave workflow.
Part of Infoveave Data Automation
Flatten JSON Array is one of over 80 transformation activities available inside Infoveave workflows. Chain transformations together — no code, no exports, no waiting for IT.
Ready to see Infoveave in action?