PdfToJson.vbs
' 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."
Click here to get your Free Trial version of the SDK
also available as: