There is a Job history management class structured like 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 is a JSON string. I can control the logic to have the same schema of this JSON in a set of List.
Now I wish to convert List to an excel file that extract the JSON to excel columns with the same level of Code and Message. How can I design this part?
JSON string only has one layer data.