Like getPath, but if the node is found, its value is set to the value param.
The object (or Array) to walk through
The path (eg. "a.b.4.c")
The value to set
If true, create missing intermediate objects or arrays
The modified object
Like getPath, but if the node is found, its value is set to the value param.