Excel转Json工具

上传者: wafcc9 | 上传时间: 2022-07-18 17:48:50 | 文件大小: 5.77MB | 文件类型: RAR
包含源码和例子,具体查看readme文件。 1. 把Excel表单转换成json对象,并保存到一个json文件中,。 2. 支持导出为数组 Json格式,每一行转换为数组的一行. [ {行内容}, {行内容}, {...}, ] 3.支持导出为Dictionary Json对象, 每一行转换成一个json对象. { ID:{行内容}, ID:{行内容}, ID:{...} } 3.程序由命令行启动 (如:JsonTool -i Role.xlsx -o Role2.json)就是将Role.xlsx转换为Role2.json文件, 注意:不写路径时,文件要放在当前运行目录下,输出路径不写时,输出的json文件在当前运行目录,本例子在Debug目录下

文件下载

资源详情

[{"title":"( 74 个子文件 5.77MB ) Excel转Json工具","children":[{"title":"JsonTool","children":[{"title":".vs","children":[{"title":"JsonTool","children":[{"title":"v14","children":[{"title":".suo <span style='color:#111;'> 72.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"JsonTool","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"JsonTool.vshost.exe <span style='color:#111;'> 22.16KB </span>","children":null,"spread":false},{"title":"JsonTool.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"Excel.dll <span style='color:#111;'> 68.50KB </span>","children":null,"spread":false},{"title":"CommandLine.xml <span style='color:#111;'> 76.02KB </span>","children":null,"spread":false},{"title":"JsonTool.exe.config <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"JsonTool.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"Excel.pdb <span style='color:#111;'> 273.50KB </span>","children":null,"spread":false},{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 196.00KB </span>","children":null,"spread":false},{"title":"CommandLine.dll <span style='color:#111;'> 57.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 647.00KB </span>","children":null,"spread":false},{"title":"Role.xlsx <span style='color:#111;'> 27.71KB </span>","children":null,"spread":false},{"title":"JsonTool.vshost.exe.manifest <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 658.07KB </span>","children":null,"spread":false},{"title":"JsonTool.vshost.exe.config <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"Rolejson.json <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"JsonTool.csproj <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"JsonTool.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"JsonTool.pdb <span style='color:#111;'> 19.50KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"JsonTool.exe <span style='color:#111;'> 9.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.05KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"JsonTool.csprojResolveAssemblyReference.cache <span style='color:#111;'> 44.25KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"JsonExporter.cs <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 184B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"JsonTool.sln <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"packages","children":[{"title":"ExcelDataReader.2.1.2.3","children":[{"title":"ExcelDataReader.2.1.2.3.nupkg <span style='color:#111;'> 193.18KB </span>","children":null,"spread":false},{"title":".signature.p7s <span style='color:#111;'> 9.27KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"net20","children":[{"title":"Excel.dll <span style='color:#111;'> 67.00KB </span>","children":null,"spread":false},{"title":"Excel.pdb <span style='color:#111;'> 231.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"net45","children":[{"title":"Excel.dll <span style='color:#111;'> 68.50KB </span>","children":null,"spread":false},{"title":"Excel.pdb <span style='color:#111;'> 273.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Newtonsoft.Json.11.0.2","children":[{"title":".signature.p7s <span style='color:#111;'> 9.24KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.11.0.2.nupkg <span style='color:#111;'> 2.30MB </span>","children":null,"spread":false},{"title":"LICENSE.md <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"netstandard1.3","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 635.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 645.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"net35","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 464.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 505.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"net20","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 501.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 559.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"netstandard2.0","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 641.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 656.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"portable-net45+win8+wp8+wpa81","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 617.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 638.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"net45","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 647.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 658.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"netstandard1.0","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 617.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 638.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"portable-net40+sl5+win8+wp8+wpa81","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 430.50KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 479.79KB </span>","children":null,"spread":false}],"spread":false},{"title":"net40","children":[{"title":"Newtonsoft.Json.dll <span style='color:#111;'> 528.00KB </span>","children":null,"spread":false},{"title":"Newtonsoft.Json.xml <span style='color:#111;'> 516.78KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"SharpZipLib.0.86.0","children":[{"title":"SharpZipLib.0.86.0.nupkg <span style='color:#111;'> 452.73KB </span>","children":null,"spread":false},{"title":".signature.p7s <span style='color:#111;'> 9.25KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"SL4","children":[{"title":"SharpZipLib.Silverlight4.dll <span style='color:#111;'> 207.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"SL3","children":[{"title":"SharpZipLib.Silverlight3.dll <span style='color:#111;'> 208.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"20","children":[{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 196.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"11","children":[{"title":"ICSharpCode.SharpZipLib.dll <span style='color:#111;'> 204.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"CommandLineParser.1.9.71","children":[{"title":".signature.p7s <span style='color:#111;'> 9.27KB </span>","children":null,"spread":false},{"title":"CommandLineParser.1.9.71.nupkg <span style='color:#111;'> 111.35KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"net35","children":[{"title":"CommandLine.xml <span style='color:#111;'> 76.02KB </span>","children":null,"spread":false},{"title":"CommandLine.dll <span style='color:#111;'> 57.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"net45","children":[{"title":"CommandLine.xml <span style='color:#111;'> 76.02KB </span>","children":null,"spread":false},{"title":"CommandLine.dll <span style='color:#111;'> 57.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"net40","children":[{"title":"CommandLine.xml <span style='color:#111;'> 76.02KB </span>","children":null,"spread":false},{"title":"CommandLine.dll <span style='color:#111;'> 57.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明