Operations (sample payloads)
Main operationsCopy
Copy
Transform JSONCopy
Copy
Transform some JSON using JSONata.
Sample Input
1{2"data": {3"employees": [4{5"name": "John Doe",6"age": 30,7"department": "Sales",8"salary": 500009},10{11"name": "Jane Smith",12"age": 35,13"department": "Marketing",14"salary": 6000015},16{17"name": "Bob Johnson",18"age": 28,19"department": "IT",20"salary": 5500021}22]23},24"query": "employees.{\"name\": name, \"annualSalary\": salary * 12}"25}
Sample Output
1{2"result": [3{4"name": "John Doe",5"annualSalary": 6000006},7{8"name": "Jane Smith",9"annualSalary": 72000010},11{12"name": "Bob Johnson",13"annualSalary": 66000014}15]16}