What is the best way to decode a JSON where each key is of a different value? Here is an example:
{
"location": "NYC",
"temperatures": {
"2012-11-01": {"high": "10", "low": "9"},
"2012-11-02": {"high": "15", "low": "10"}
...
}
}
The tricky part here is that temperatures
has its keys as the date. I couldn’t find a decoder in bs-json that could handle this. I am guessing I’ll have to go lower level into Js.Json in order to parse it?