HI,
Please help me to deserialize this json into list
Note: this json has dyanamic object names
json :
.
.
"http://d.abc.com/genericHasher-1/bb662ed1-6f4d-3a29-a837-8637cd479d4c": {
"_typeGroup": "entities",
"_type": "Position",
"name": "co-founder",
"_typeReference": "http://s.opencalais.com/1/type/em/e/Position",
"relevance": 0.312
},
"http://d.abc.com/comphash-1/3b1045e3-d1d7-3505-81a3-3cbe045bbbd7": {
"_typeGroup": "entities",
"_type": "Company",
"name": "Amazon",
"nationality": "N/A",
"_typeReference": "http://s.opencalais.com/1/type/em/e/Company",
"relevance": 0.158
},
.
.
Class :
public class Calais_Entity
{
[JsonProperty]
[DataMember(Name = "_typeGroup")]
public string _typeGroup { get; set; }
[JsonProperty]
[DataMember(Name = "_type"]
public string _type { get; set; }
[JsonProperty]
[DataMember(Name = "name")]
public string name { get; set; }
[JsonProperty]
[DataMember(Name = "nationality")]
public string nationality { get; set; }
[JsonProperty]
[DataMember(Name = "relevance")]
public string relevance { get; set; }
}