This method is like zipObject except that it supports property paths.
zipObject
Optional
The property identifiers.
The property values.
Returns the new object.
4.1.0
unzip, unzipWith, zip, zipObject, zipWith
zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2])// => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } } Copy
zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2])// => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }
This method is like
zipObject
except that it supports property paths.