You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: