Function zipObjectDeep

  • This method is like zipObject except that it supports property paths.

    Parameters

    • Optionalprops: any

      The property identifiers.

    • Optionalvalues: any

      The property values.

    Returns any

    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 }] } }