Link Search Menu Expand Document

Convert PDF To JSON - VBScript

PDF Extractor SDK sample in VBScript demonstrating ‘Convert PDF To JSON’

' Create Bytescout.PDFExtractor.JSONExtractor object
Set extractor = CreateObject("Bytescout.PDFExtractor.JSONExtractor")
extractor.RegistrationName = "demo"
extractor.RegistrationKey = "demo"

' Load sample PDF document
extractor.LoadDocumentFromFile "sample3.pdf"

extractor.SaveJSONToFile "output.json"

WScript.Echo "Extracted data saved to 'output.json' file."

Download Source Code (.zip)

Return to the previous page Explore PDF Extractor SDK