You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if this is the wrong place to ask, since this issue is already closed and the processor implemented, but what exactly is the purpose of having the empty squared brackets as part of the key when remove_list_indices is true?
We use the flatten processor with this option and for our usecase it would be much better and I think in general more intuitive if we had "list1.list2.name": ["name1","name2"] instead of "list1[].list2[].name": ["name1","name2"]
Is your feature request related to a problem? Please describe.
There're use cases where nested json objects needs to be flattened. For example:
From:
to
In some specific use cases (#3965), the users wants to remove list indices from the flattened keys and combine leaf values in lists:
Describe the solution you'd like
A new flatten processor with these configurations:
source
: the source key to the object to flattentarget
: the target key to put the flatten objectremove_processed_fields
: boolean, whether to remove processed fields, only keeping flattened fieldsremove_list_indices
: boolean, whether to remove list indices from the flattened keys and combine leaf valuesDescribe alternatives you've considered (Optional)
N/A
Additional context
A specific use case is in #3965
The text was updated successfully, but these errors were encountered: