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
To elaborate. It might seem as objects imply nesting, but if we don't account for empty objects, flatteining then deflattening an object will not preserve the original object structure.
In this example, doing flat.unflatten(flat.flatten(o)) will not retain the 'empty.value.nested' tree.
The text was updated successfully, but these errors were encountered:
will return
instead the expected:
Edit:
To elaborate. It might seem as objects imply nesting, but if we don't account for empty objects, flatteining then deflattening an object will not preserve the original object structure.
In this example, doing
flat.unflatten(flat.flatten(o))
will not retain the 'empty.value.nested' tree.The text was updated successfully, but these errors were encountered: