what is the word ‘data’ in this json string.
{“data”:[
{“id”:7, “name”:“Charminar”,“thumbnail”:“http://placehold.it/100x50",“image”:"http://placehold.it/400x200”},
{“id”:8, “name”:“Apartment 1”,“thumbnail”:“http://placehold.it/70x35",“image”:"http://placehold.it/700x350”},
{“id”:9, “name”:“Apartment 2”,“thumbnail”:“http://placehold.it/80x40",“image”:"http://placehold.it/800x40”}
]}
According to http://json2csharp.com/
public class Datum
{
public int id { get; set; }
public string name { get; set; }
public string thumbnail { get; set; }
public string image { get; set; }
}
public class RootObject
{
public List<Datum> data { get; set; }