path
(string, default: ""
) - The path to the property you want to set, specified as a string of keys separated by dots (e.g., "a.b.c"
).newValue
(object, default: {}
) - The new value you want to set at the specified path.obj
(object, default: {}
) - The original object in which you want to set the value.result
(object) - A new object with the value set at the specified path, leaving the original object unchanged.obj
input. This is the object you want to update.path
input. Use dot notation to navigate nested objects (e.g., "a.b.c"
).newValue
input.city
property within the address
object, you can use the Assoc Path node like this:
obj
input to the original object.path
input to "user.address.city"
.newValue
input to "Los Angeles"
.city
property: