-
Notifications
You must be signed in to change notification settings - Fork 98
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
Issue with unflatten #81
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When there is a flattened field with a "duplicated" inner part there's an error:
AttributeError: ‘str’ object has no attribute ‘setdefault’
The problematic json:
While this would work:
And this would also work:
The desired output for all cases above should be:
The function used is:
I don't have a way of removing the "duplicated" ones as this is the way some users input their flattened json.
The text was updated successfully, but these errors were encountered: