Skip to content

New key name same as flattened key #46

Description

@georgestanley

This is an Enhancement suggestion that I thought would be useful.
Currently, the new key name is a combination of parent-key + delimiter + child-key.
However, there can be a special case when I would like the new key name told be only the child-key.

E.g.
{'foo': {'bar': 'baz', 'qux': 'corge'} }
should be outputted as
{'bar': 'baz', 'qux': 'corge'} instead of
{'foo:bar': 'baz', 'foo:qux': 'corge'}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions