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

Unflat and flat with list format a[0] instead of a.0 #82

Open
seabird86 opened this issue May 31, 2022 · 0 comments
Open

Unflat and flat with list format a[0] instead of a.0 #82

seabird86 opened this issue May 31, 2022 · 0 comments

Comments

@seabird86
Copy link

seabird86 commented May 31, 2022

Hello guy,

Good library. However, I prefer the format {a[0]:1,a[1]:1,a[2]:2} rather than the format {a.0:1,a.1:1,a.2:2} for list.

Can you refer to this link for good format for list, it's natural than your lib format ? this is also a good solution from 'blhsing' in answer.
https://stackoverflow.com/questions/53017956/unflatten-a-dict-obtained-from-json-using-python

I hope, you can support this format in library.

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