ComPDF icon

ComPDF

ComPDF async processing API

Document Conversion → PDF to Json

AI-generated

Summary

Convert PDF files to JSON format by sending the PDF binary data to ComPDF's API and retrieving structured JSON data.

Inputs

  • binaryPropertyName — The name of the binary property containing the PDF file to process; defaults to 'data'.
  • parameter (required) — A required processing parameter string to configure the API request for PDF to JSON conversion.
  • language — Optional language setting for OCR and text recognition; defaults to '2'.

Output shape

a list of JSON objects representing the converted PDF content

The operation returns JSON data extracted from the PDF. Each input item results in one or more JSON objects in the output, paired to the corresponding input item. Errors per item are also returned if 'continueOnFail' is enabled.

Examples

Example 1: Convert a PDF file contained in the input binary property 'data' to JSON.

Set 'Binary Property' to 'data', provide the required 'Parameter' string, and optionally set 'Language'. Connect the node input with the PDF file binary data.

Links

Discussion