I have this string:
string json = "[[{"Key":"COL1","Value":"8404"},{"Key":"LIN1","Value":"972"},{"Key":"CAT","Value":"C"}],[{"Key":"COL1","Value":"8406"},{"Key":"LIN1","Value":"971"},{"Key":"CAT","Value":"A"}]]";
I have defined this type:
public class Table : List<Dictionary<string, string>> { }
How can I deserialize the string into the Table class?
So far I tried this:
JavaScriptSerializer ser = new JavaScriptSerializer();
var values = ser.Deserialize<Table>(json);
But I get a length 0 variable
>>`.