Infoveave Data Automation — JSON & Array
You have Street, City, State, and Zip as separate columns. You need a single AddressJSON column for an API payload or a downstream system. Select the columns, name the output — done.
Many downstream systems, APIs, webhooks, and document-oriented databases expect data structured as JSON objects rather than flat tabular rows. Packaging flat columns into a JSON column — for REST API payloads, Elasticsearch documents, MongoDB upserts, or event schema outputs — normally requires JSON_OBJECT or JSON_BUILD_OBJECT functions in SQL, json.dumps with a dict construction in Python, or CONCATENATE-based JSON string building in Excel. All require knowing the column names at query time and rewriting the expression when columns change. Create JSON Object selects any set of columns from the current dataset and packages them into a well-formed JSON object in a single configured step, making it straightforward to prepare structured output for any downstream system without custom code.
Combine selected columns from a tabular dataset into a single structured JSON object column in Infoveave. Package address fields, product attributes, event metadata, or any grouped columns into nested JSON for export, API payloads, and semi-structured storage — without JSON_OBJECT queries or json.dumps code.
Create JSON Object 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.
A retail integration pipeline processes customer order records where address fields — Street, City, State, ZipCode, Country — are stored as separate columns. The order fulfillment API expects a shipping_address JSON object in its request body. Create JSON Object selects the five address columns and produces an AddressJSON column containing a properly structured JSON object. The export step maps this column to the shipping_address field in the API payload.
A product data team manages product records where specification attributes — Weight, Dimensions, Material, Color, Finish — are separate columns. The product catalog platform accepts an attributes JSON object field per product. Create JSON Object packages the specification columns into a SpecificationJSON column that the catalog loader maps directly to the attributes field, eliminating manual JSON construction.
A financial data engineering team indexes transaction events into Elasticsearch where each document includes a metadata object containing Merchant, Channel, DeviceType, and SessionID. These fields are available as separate columns in the pipeline. Create JSON Object combines them into a TransactionMetadata JSON column that the Elasticsearch indexing step uses as the metadata field in each event document.
Input data (left) is transformed using the configuration below. The output table (right) is ready for dashboards or downstream steps.
Street, City, State, ZipCodeAddressJSONYesInput Data
| OrderID | Street | City | State | ZipCode |
|---|---|---|---|---|
| 1001 | 123 Maple Ave | New York | NY | 10001 |
| 1002 | 456 Oak Street | Los Angeles | CA | 90001 |
| 1003 | 789 Pine Road | Chicago | IL | 60601 |
| 1004 | 321 Elm Blvd | Houston | TX | 77001 |
| 1005 | 654 Cedar Lane | Phoenix | AZ | 85001 |
Output Data
| OrderID | Street | City | State | ZipCode | AddressJSON |
|---|---|---|---|---|---|
| 1001 | 123 Maple Ave | New York | NY | 10001 | {"Street":"123 Maple Ave","City":"New York","State":"NY","ZipCode":"10001"} |
| 1002 | 456 Oak Street | Los Angeles | CA | 90001 | {"Street":"456 Oak Street","City":"Los Angeles","State":"CA","ZipCode":"90001"} |
| 1003 | 789 Pine Road | Chicago | IL | 60601 | {"Street":"789 Pine Road","City":"Chicago","State":"IL","ZipCode":"60601"} |
| 1004 | 321 Elm Blvd | Houston | TX | 77001 | {"Street":"321 Elm Blvd","City":"Houston","State":"TX","ZipCode":"77001"} |
| 1005 | 654 Cedar Lane | Phoenix | AZ | 85001 | {"Street":"654 Cedar Lane","City":"Phoenix","State":"AZ","ZipCode":"85001"} |
Key fields to configure in the Infoveave workflow builder. Full reference available in the documentation.
Column Names
Select the columns that will become keys in the JSON object. Each selected column name becomes a key in the output JSON, and each row's value for that column becomes the value. The key names in the JSON match the column names exactly as they appear in the dataset.
Output Column
Enter the name for the new column that will contain the JSON object string for each row. The JSON is well-formed with string values quoted and numeric values unquoted based on the column data types.
Include Original
Choose whether to retain the source columns in the output alongside the new JSON column. Enable when the flat columns are still needed for other steps in the pipeline. Disable when the JSON column replaces the flat columns for export or loading purposes.
Everything you need to know about Create JSON Object in Infoveave.
Transformations in the same family as Create JSON Object, often chained together in the same Infoveave workflow.
Part of Infoveave Data Automation
Create JSON Object 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?