Unset object block
Purpose
Remove part of an object, which corresponds to a specific path.
Input
-
Object
The object which contains the part to be removed. -
Path
The path to the object part that needs to be removed.
Output
- Object
The initial object without the (removed) part.
Example
Obj1: { firstName:John, lastName:Doe } Obj2: { lastName:Doe }graph LR A(["Obj1"]) --Object--> C(Unset Object) B(["firstName"]) --Path--> C C --Value--> D(["Obj2"])