I am getting response of JSON like this.
{
"serp":
{
"1":
{
"href": "href1.com",
"url": "url1.com"
},
"2":
{
"href": "href2.com",
"url": "url2.com"
}
}
}
When I am trying to map with .net class it doesn't allow me to create class like public class 1 or public class 2. I want this 1 and 2 value as rank and also I want href and url value too. So how can I get this by creating class structure?
Thank in advance.