Free Trial
Web API version
Licensing
Request A Quote
HAVE QUESTIONS OR NEED HELP? SUBMIT THE SUPPORT REQUEST FORM or write email to SUPPORT@BYTESCOUT.COM
Export To JSON | VB.NET
Module1.vb:
VB
Imports Bytescout.Spreadsheet Imports System.IO Module Module1 Sub Main() Using spreadsheet As New Spreadsheet ' Load document spreadsheet.LoadFromFile("Table.xls") ' Export first worksheet to JSON format Dim jsonString As String = spreadsheet.ExportToJSON(0) ' Write JSON string to file File.WriteAllText("exported.json.txt", jsonString) ' Open the result file in default associated application Process.Start("exported.json.txt") End Using End Sub End Module