I have the following Json string returned from an API:
{
"1":{"key":"value", "key2":"value2"},
"2":{"key":"value", "key2":"value2"},
"3":{"key":"value", "key2":"value2"}
}
The numbering can go up to move than 10.000.
I use Json.Net for deserializing. Usually I declare a class with the properties key and key2 and make it a list. Then i deserialize with JsonConvert.Deserialize(...) and it works fine.
But how do I handle the numbering? I cannot create > 10.000 properties to hold the values.
Best regards Morten