Map Keys By Index
1 min
Maps keys of a given list to a specified order in the given map. Define and empty string to omit a key in the output
e.g. "first_key","second_key","","third_key"
API Definition
Merge Two JSON Object List on Key API
Call the following API:
POST
https://orca.pathfix.com/functions/list/map_keys_by_pos
{
"input": [
{
"name": "Bruce",
"company": "Wayne Enterprises",
"villains": "joker",
"city": "Gotham"
},
{
"name": "Clark",
"company": "n/a",
"villains": "zod",
"city": "Smallville"
}
],
"map": [
"owner",
"enterprise",
"",
"location"
]
}