c# - How to convert List of objects with JSON string to Excel -
there job history management class structured follows:
public class jobhistory { public int subjobid { get; set; } public string data { get; set; } public int code { get; set; } public string message { get; set; } }
data json string. can control logic have same schema of json in set of list.
now wish convert list excel file extract json excel columns same level of code , message. how can design part?
json string has 1 layer data.
if has excel file format suggest using library npoi create file, can serialize object , produce excel files.
other wise suggested use csv.
Comments
Post a Comment