Replace path name to get value using received JSON response key javascript
Given json response below. { "status": "success", "data": { "cheapest": { "data": [ { "logistic_id": 1, "rate_id": 21 } ] }, "reguler": { "data":[ { "logistic_id": 5, "rate_id": 74 } ] }, "ranked": { "data": [] } } } to…