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

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -