Flatten processes objects by flattening arrays.

Interpretation Methods

The processor supports these interpretation methods:

  • object

Options

FieldTypeDescriptionRequired
deepbooleandetermines 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"]}