使用gcExcel.net 4.6.2版本,worksheet.toJson()可以正常输出。
但拿ToJson后的内容再worksheet.fromJson()则报错。
异常信息:
segment
2023-06-16 19:44:49.1670 | at GrapeCity.Documents.Excel.it.a(ij A_0, Boolean A_1)
at GrapeCity.Documents.Excel.mo.a(bw A_0, pz A_1, Boolean A_2)
at GrapeCity.Documents.Excel.m0.a(agi A_0, pz A_1, Dictionary`2 A_2, List`1 A_3, Dictionary`2 A_4, List`1 A_5, List`1 A_6, List`1 A_7, List`1 A_8, List`1 A_9, iv A_10, Int32& A_11, l6 A_12, IList`1 A_13)
at GrapeCity.Documents.Excel.mv.a(af8 A_0, pz A_1, Dictionary`2 A_2, List`1 A_3, Dictionary`2 A_4, List`1 A_5, List`1 A_6, List`1 A_7, List`1 A_8, List`1 A_9, Dictionary`2 A_10, l6 A_11, IList`1 A_12, Int32 A_13)
at GrapeCity.Documents.Excel.mv.a(af8 A_0, pz A_1, Dictionary`2 A_2, List`1 A_3, Dictionary`2 A_4, List`1 A_5, List`1 A_6, List`1 A_7, List`1 A_8, List`1 A_9, Dictionary`2 A_10, Int32& A_11, l6 A_12, IList`1 A_13)
at GrapeCity.Documents.Excel.mv.a(af8 A_0, Stream A_1, IList`1 A_2)
at GrapeCity.Documents.Excel.Workbook.FromJson(String json, DeserializationOptions deserializationOptions)
at GrapeCity.Documents.Excel.Worksheet.FromJson(String json, DeserializationOptions deserializationOptions)
json见附件
|
|