Use case
Some common uses for this component include:- Extract fields from JSON strings in an input table. You can’t directly access individual items within the string unless you parse the JSON string. Using this component, you convert the string into a structured object, allowing you to reference its elements in downstream components.
- Work with string data returned from an API by a Custom Connector. Many APIs will return JSON data in a string format, which must be converted before it can be usefully manipulated.
Properties
A human-readable name for the component.
Select an input column that contains the source text.The component will operate on only a single column of the input. If you need to extract from multiple columns of a source table, use multiple copies of the Convert String To Struct component.
Use this property to define the output structure. The component will attempt to match the elements you define in this structure to elements in the text input. If an element defined here can’t match with any part of the input string, that element will be output with a value of
null.The Columns dialog shows a graphical representation of the output structure.- To add a new element, click the three dots … next to the STRUCT element at the top of the structure, and then click Add element. Each element should be assigned a unique Key and a Type.
- To edit an element’s Key or Type, click the three dots … next to the element and click Edit element.
- To delete an element, click the three dots … next to it and click Delete element.
- To remove all elements added to the structure so far, reverting to a blank structure, click Reset.
Choose whether to include input columns in the output stream.

