-
Notifications
You must be signed in to change notification settings - Fork 7k
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
Is there a functionality to flatten/deflatten an object? #1228
Comments
Hi @moatazelmasry2! We currently don't have a flatten for objects but I'm keeping an eye on the demand. Related to #1180. |
Hi John, Would the two way implementation of something that might be interesting for lodash? |
Check out flat. |
interesting one, somethings like the new native https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat but for objects. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi there,
I have the following object/array of objects:
Object1:
Is there a way to 'deflatten' object1 into object2 and flatten object2 into object1?
Thanks
The text was updated successfully, but these errors were encountered: