Converts a JSON column to multiple columns, whereby the column list is heuristically extracted from the JSON structure. It can either extract the primitive leaf elements (like strings and numbers), omitting the JSON tree path, or the full JSON structure. The latter, however, may yield some confusing output as the types of the columns are again JSON or collections of JSON.
Note that this node is meant to be used for "well-structured", relatively flat JSON objects which adhere the same schema in all rows. In case the JSON objects are more complex it's better to use nodes like JSON Path or JSON Path (Dictionary) .
Some examples on the following JSON column input may help to clarify the generated output.
Types:
- b - JSON when Keep as JSON array , list of integers when Keep as collection elements
- c - String
- d - String
Type: a - JSON a{"b": [1, 2], "c":"c"}{"b": [3], "d":null} Only leaves , Use path with separator . , Expand to columns
Type:
- a.b.0 , a.b.1 - integer
- a.c , a.d - string
Type:
- a - list of integers
Type:
- a - list of JSON values
Though with Keep as JSON array (regardless of Omit nested objects ):
Type:
- a - JSON values