This repository was archived by the owner on Dec 25, 2022. It is now read-only.
This repository was archived by the owner on Dec 25, 2022. It is now read-only.
I want to get only first 3 elements from an array. Is that possible ? #41
Open
Description
Let's say we're getting an array of 5 items from the API. Can we get only 3 items, not all the 5 items?
{
"data": {
"finance": {
"data": [
{
"id": "590522000022443198",
"City": "Melaka"
},
{
"id": "590522000025688127",
"City": "Limassol"
},
{
"id": "590522000037762639",
"City": "Cyberjaya"
},
{
"id": "590522000037762487",
"City": "Labuan"
},
{
"id": "590522000022432183",
"City": "Ipoh"
}
]
}
},
}
Metadata
Metadata
Assignees
Labels
No labels