Package com.extractpdf4j.helpers
Class JsonExporter
java.lang.Object
com.extractpdf4j.helpers.JsonExporter
Serializes extracted tables as a JSON document.
The document has a tables array. Each table contains a rows
array whose items are arrays of cell values, preserving the original table
order and cell boundaries.
-
Method Summary
-
Method Details
-
export
Exports tables as a JSON document suitable for command-line pipelines. Null cell values are represented as empty strings, matching CSV export.- Parameters:
tables- tables to serialize- Returns:
- a JSON document containing all tables
-