-
Notifications
You must be signed in to change notification settings - Fork 99
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
unflatten does not work when importing JSON from file #34
Comments
do you have the latest version of
i'm get this output with your example:
|
I have the latest version of flatten_json installed. I'm running Python 2.7, pip 9.0.1 Still getting the same error... Uncommenting these lines from the library allows me to run the command without error:
|
Is this a e.g. on python 2.7
a workaround in my case is to cast the keys and values to strings (they're both always strings in my scenario) and then the assertion passes:
|
when using the code below and attached file
data.json.zip, unflatten does not work. Shows error of 'provided dictionary is not flat'
The text was updated successfully, but these errors were encountered: