Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Support for top-level/nested emitKey/$ #160

Open
andybarron opened this issue Aug 15, 2018 · 0 comments
Open

Support for top-level/nested emitKey/$ #160

andybarron opened this issue Aug 15, 2018 · 0 comments

Comments

@andybarron
Copy link

For the following JSON:

{
  users: {
    a:  { name: 'User A' }
  },
  posts: {
    b:  { name: 'Post B' }
  },
}

I would love a way to emit the following two outputs:
{ key: ['users', 'a'], value: { name: 'User A' } }
{ key: ['posts', 'b'], value: { name: 'Post B' } }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant