I'm a beginner in nodejs , i want to insert some values to database by calling an api and i have got api result as ,
[ {
"rowId": "0",
"group": "RBEIBAN:SMP",
"zoomLevel": "12",
"latitude": "12.955081",
"vehicleLocations":
[ {
"rowId": 0,
"latitude": "12.955081",
"longitude": "77.641369",
"speed": 0,
},
{
"rowId": 1,
"latitude": "12.936186",
"longitude": "77.611698",
"speed": 0
} ]
}]
my question is, how can i geI only vehiclelocation from this ? and how can insert into database?