Recursively generates the paths for all keys in an object or array, formatted as dot notation.
The object or array for which to generate key paths.
Optional
The key or path of the parent object, used to build the complete key paths.
An array of strings representing the paths of the keys in dot notation.
Recursively generates the paths for all keys in an object or array, formatted as dot notation.