[转]Cannot deserialize the current JSON array (e.g. [1,2,3]) into type

 
   
string content =[{"id": 3636, "is_default": true, "name": "Unit", "quantity": 1, "stock": "100000.00", "unit_cost": "0"}, {"id": 4592, "is_default": false, "name": "Bundle", "quantity": 5, "stock": "100000.00", "unit_cost": "0"}]
JsonConvert.DeserializeObject(content);

转载于:https://www.cnblogs.com/yexiaoyanzi/p/7660706.html

你可能感兴趣的:([转]Cannot deserialize the current JSON array (e.g. [1,2,3]) into type)