私のjson配列:
{"lstResult":[{"food_photo":[255,216,255,224,0,16,74,70,73,70,0,1........3,5],"food":"12","qty_uom":"Pcs","unit":null}]}
私のC#クラス:
public class lstresult
{
public photo[] lstResult{get;set;}
}
public class photo
{
public byte[] food_photo{get;set;}
}
public class Food
{
public photo[] food_photo { get; set; }
public int food_qty { get; set; }
public string qty_uom { get; set; }
public string unitcost { get; set; }
}
私の質問:
私のjson文字列には「food_photo」キーが含まれていますこのバイト配列を画像に変換する方法は?またはasp.netのリストに変換する事前に感謝します