问题:
can’t be deserialize the current JSON arry (e.g[1,2,3])into type [···] because the type requires a JSON object (e.g.{“name”:”value”}) to deserialize correctly.
解决:调用的数据返回的类型和要处理数据时需要的类型不同,需要检查上一个方法返回的类型是否正确。
问题:
can’t be deserialize the current JSON arry (e.g[1,2,3])into type [···] because the type requires a JSON object (e.g.{“name”:”value”}) to deserialize correctly.
解决:调用的数据返回的类型和要处理数据时需要的类型不同,需要检查上一个方法返回的类型是否正确。