The following code snippet for ByteScout PDF Suite works best when you need to quickly convert pdf to json with pdf extractor sdk in your VBScript application. IF you want to implement the functionality, just copy and paste this code for VBScript below into your code editor with your app, compile and run your application. Applying VBScript application mostly includes various stages of the software development so even if the functionality works please test it with your data and the production environment.
Trial version of ByteScout PDF Suite is available for free. Source code samples are included to help you with your VBScript app.
' 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."