This might be a basic question but I am stuck while converting a JSON Response to a List. 
I am getting the JSON Response as,

```
{"data":[{"ID":"1","Name":"ABC"},{"ID":"2","Name":"DEF"}]}

```

Have defined a Class,

```
class Details
{
    public List<Company> data { get; set; }

}
class Company
{
    public string ID { get; set; }

    public string Name { get; set; }
}

```

Have tried this for converting,

```
List<Details> obj=List<Details>)JsonConvert.DeserializeObject
   (responseString,     typeof(List<Details>));

```

But this returns an error, saying 

Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Client.Details]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.

To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.

Kindly help!