Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Json 字符串:
{"Result":[{"branch":"61","food":"Idli","food_photo":[255,216,255,22,....55,217],"preparation":"23","qty":"Pcs"}]}
我的任务:1)当我反序列化 时,我的列表中的food_photo为空。2)如何在c#中将此json字符串反序列化为类?
在 stackoverflow 上查看很多类似的问题:
将 JSON 字符串解析为对象的最简单的 C# 函数是什么?
将 JSON 对象反序列化为 C# 对象