I'm trying to go from this:
{
"fruits": [
{
"name": "Apple",
"price": 35
},
{
"name": "Banana",
"price": 12
},
{
"name": "Grapes",
"price": 45
},
{
"name": "Pineapple",
"price": 200
}
]
}
To this:
[ "Apple", "Banana", "Grapes", "Pineapple" ]
Without looping through the first array. Any ideas on how to do that? Thanks!
Solved! Go to Solution.
Like this:
Create a select action. Put it into text mode. Expression for from is:
outputs('Compose')['fruits']
expression for map is:
item()['name']
output is:
[
"Apple",
"Banana",
"Grapes",
"Pineapple"
]
Like this:
Create a select action. Put it into text mode. Expression for from is:
outputs('Compose')['fruits']
expression for map is:
item()['name']
output is:
[
"Apple",
"Banana",
"Grapes",
"Pineapple"
]
User | Count |
---|---|
33 | |
32 | |
23 | |
22 | |
19 |
User | Count |
---|---|
58 | |
55 | |
41 | |
37 | |
28 |