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
I have a use case where i always have to unflatten a json object and i dont know if that object is already unflattened. If there is a number for an object key unflatten method create and array which replaces the original object and the array length matches the number plus one. With the last element being the element originally stored by the key. This happens only for nest objects not root level.
I have a use case where i always have to unflatten a json object and i dont know if that object is already unflattened. If there is a number for an object key unflatten method create and array which replaces the original object and the array length matches the number plus one. With the last element being the element originally stored by the key. This happens only for nest objects not root level.
example:
flat.unflatten({ testing: { 12: 12 }}) => { testing: [,,,,,,,,,,,,12]}
The text was updated successfully, but these errors were encountered: