Quantcast
Channel: Active questions tagged return-value - Stack Overflow
Viewing all articles
Browse latest Browse all 207

Typescript Json get value [duplicate]

$
0
0

I'm getting from api {"bmw":[{"year":2022, "color": "black", "perfs":{"bmw":{"model": "x5", "county": "Germany"}}, "price":35000}]}

How can I get the values of the model and country by the typescript, map() function?

I am trying to get the value of the country and model of the car, to show in a table in the frontend.


Viewing all articles
Browse latest Browse all 207

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>