data_diff_arrays
Compare two JSON arrays of objects to detect added, deleted, modified, and unchanged entries. Optionally specify a key to match objects between arrays.
Instructions
Compare two JSON arrays of objects and return the differences (added, deleted, modified, unchanged).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Optional unique key to match objects between arrays (e.g. 'id' or 'email'). | |
| arrayA | Yes | JSON string representing the baseline array. | |
| arrayB | Yes | JSON string representing the updated array to compare against A. |