Given a 'path' "alice.bob.charlie", look for the JSON object 'bob' containing a key 'charlie' in the object 'alice'. Use the 'object' argument as the root.
In other words, 'path' describes a node of a tree with 'object' as the root, and this function returns the pointer to the node if found, and NULL otherwise.