Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve all keys #212

Open
yassinebenarbia opened this issue Nov 4, 2023 · 0 comments
Open

Retrieve all keys #212

yassinebenarbia opened this issue Nov 4, 2023 · 0 comments

Comments

@yassinebenarbia
Copy link

Is it possible to have a way of retrieving all keys and or values under some defined level, as for example
{ "Name": "X" "PN": 12345678, "House": { "Address": "some address", "Size" : "some Size", "Rooms": 5, }, }
here using the desired method on level 1 will give a list of all keys, which is ' ["Name", "PN", "House"]'
and on level 2 will give ["Address", "Size", "Rooms"], Note that it's possible to implement the same behavior on values pairs.

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

No branches or pull requests

1 participant