esmail
2 years agoNew Contributor
Json object
I need help to get below output. "order":{
"0d8351c5-22dd-4e15-95b4-d2808cce70df":"11111111-1111-1111-1111-000000000000",
"ba653ecd-0b8d-4af4-97d0-5d758a37512d":"11111111-1111-1111-1111-00000000000...
- 2 years ago
Use this expression:
$order.entries().map(e => {"class_id": e[0], "order": e[1]})