.getPathInfo(path, object)
This allows the retrieval of property info in an object given a string path.
The path info consists of an object with the following properties:
- parent - The parent object of the property referenced by
path
- name - The name of the final property, a number if it was an array indexer
- value - The value of the property, if it exists, otherwise
undefined
- exists - Whether the property exists or not