I have an JSON response from the retrofit which look's like this:
{
"rates": {
"CAD": 1.5299,
"KRW": 1332.82,
"MYR": 4.7006
},
"base": "EUR",
"date": "2020-04-03"
}
And I wondering, How I may store some of that response In the Map? Could you provide me any hint, please?
I would like to have this data in map
"CAD": 1.5299,
"KRW": 1332.82,
"MYR": 4.7006
Do I need to add this manually, or there's some faster way?