Creating a map with enumerated values
Map the structures created previously, and use the
MapValues function to map the enumerated values.
Procedure
Results
{
"customers": [
{
"id": "abc-123",
"name": "John Doe",
"status": "Gold"
},
{
"id": "def-456",
"name": "Jane Smith",
"status": "Platinum"
},
{
"id": "ghi-789",
"name": "Emily Stone",
"status": "Silver"
}
]
}