I’m getting the following JSON back from a service, and I want to insert into a datable in the form of:
2015-01-01, EURAED, 4.424436
2015-01-01, EURAFN, 70.253785
2015-01-01, EURALL, 139.802156
2015-01-01, EURAMD, 572.986119
…and so on
…but my deserialization goes all to hell, and I am unable to read the items within the “quotes” node.
Any help appreciated.
{
"success": true,
"terms": "https:\/\/currencylayer.com\/terms",
"privacy": "https:\/\/currencylayer.com\/privacy",
"historical": true,
"date": "2015-01-01",
"timestamp": 1420156799,
"source": "EUR",
"quotes": {
"EURAED": 4.424436,
"EURAFN": 70.253785,
"EURALL": 139.802156,
"EURAMD": 572.986119,
"EURANG": 2.155656,
"EURAOA": 124.139616,
"EURXCD": 3.254155,
"EURXDR": 0.833236,
"EURXOF": 655.845239,
"EURXPF": 119.000977,
"EURYER": 258.938434,
"EURZAR": 14.006163,
"EURZMK": 6327.855119,
"EURZMW": 7.731093,
"EURZWL": 388.308881
}
}
-Jeppe
You there, @Yoichi ?