We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import flatten_json records = { 'lives.name':'person', 'lives.name_mother':'mother' } flatten_json.unflatten(records, ".")
expected:
{ 'lives': { 'name': 'person', 'name_mother': 'mother' } }
but result in:
{ 'lives': { 'name_mother': 'mother' } }
The text was updated successfully, but these errors were encountered:
I faced the same issue. Here is my simple test:
dic = { 'a': 1, 'ab': 2, } unflatten(dic)
Expected: { "a": 1, "ab": 2 } Actual: { "ab": 2 }
{ "a": 1, "ab": 2 }
{ "ab": 2 }
Sorry, something went wrong.
Solved as of flatten_json==0.1.8. But you probably have version 0.1.7 installed from pypi. Refer to #65 ; #65 (comment).
No branches or pull requests
expected:
but result in:
The text was updated successfully, but these errors were encountered: