Creating a map with enumerated values
Map the structures created previously, and use the
MapValues fucntion 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"
}
]
}
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!