Merge objects from two or more lists at matching offsets. If an item with the same key exists in multiple lists for the same offset, the value from the later list will overwrite the value from an earlier list.
Input Fields
- list1 (list of objects) - required: a list of objects to be merged
- list2 (list of objects) - required: a list of objects to be merged
Output Fields
- output (list of objects): the merged list of objects
Example
Input list 1: [{"name":"Bob", "age":20}, {"name":"Jane", "age":25}]
Input list 2: [{"name":"Bob", "height":62}, {"name":"Jane", "height":65}]
Output list: [{"name":"Bob", "age":20, "height":62}, {"name":"Jane", "age":25, "height":65}]