Flatten
Flatten processes objects by flattening arrays.
Interpretation Methods
The processor supports these interpretation methods:
- object
Options
Field | Type | Description | Required |
---|---|---|---|
deep | boolean | determines if arrays should be deeply flattened. defaults to false. | No |
Use Cases
Deep Flattening
If the deep flattening is enabled, then the result is:
{"a":[["b"],[[["c",[["d"]]]]]]}
{"a":["b","c","d"]}
Updated over 1 year ago