Array Unique
Deduplicates arrays of primitives or objects by a selected key or full canonical value.
Run tool
Form input
Direct JSON or Markdown
Submit JSON directly or Markdown that can be converted into JSON.
Work steps
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
items | array | Yes | Items |
key | text | Yes | Key |
Outputs
| Name | Type | Description |
|---|---|---|
result | array | Result |
removed_count | integer | Removed count |
work | array | Work |
Sample request
{
"items": [
{
"email": "a@x.com"
},
{
"email": "a@x.com"
},
{
"email": "b@x.com"
}
],
"key": "email"
}