• Private

    Given a json document and a key get the complete path(s) to that key in dot notation: path.to.some.array[0].element

    Parameters

    • obj: any

      json document

    • key: any

      the key for which to compute the path

    • currentPath: string = ''
    • paths: string[] = []

    Returns string[]

    an array of strings containing the complete paths to some key

Generated using TypeDoc