JSON Pick
Selects only named fields or paths from an object or array of objects.
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 |
|---|---|---|---|
data | object | Yes | Data |
fields | array | Yes | Fields |
Outputs
| Name | Type | Description |
|---|---|---|
result | object | Result |
work | array | Work |
Sample request
{
"data": {
"name": "Acme",
"country": "US",
"size": 42
},
"fields": [
"name",
"size"
]
}