Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'EasyNote.Translate.Bing.Rootobject' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object
因为源对象是一个集合,例如List<Object>,但我们使用对象反序列化的话就会失败.解决方法使用List<Object>反序列化,而不是对象的属性.
result = JsonConvert.DeserializeObject<List<EasyNote.Translate.Bing.Class1>>(r_json);