Const
Helper that updates the text value at the given path. Caller must ensure the path is valid.
The object to update.
The path to the text value to update.
The new text value.
The updated object.
Helper that updates the text value at the given path. Caller must ensure the path is valid.