THotPDF.ExportLoadedObjectGraphJSON Method

Exports indirect objects in object-number order with recursively sorted dictionary keys and unresolved-reference diagnostics

Declaration

function ExportLoadedObjectGraphJSON(
    StreamPayload: THPDFObjectGraphStreamPayload;
    const ExternalStreamDirectory: TFileName;
    out AInfo: THPDFObjectGraphExportInfo): AnsiString;

Stream payloads

The selected policy can omit streams, embed raw or decoded bytes as base64, or externalise raw or decoded bytes into the supplied directory

Compatibility

This method emits the stable HotPDF-object-graph-1 diagnostic format and remains available for canonical identifiers and existing tooling

Use ExportLoadedObjectGraphJSONToStream for v2 editing round trips, incremental updates, explicit payload encoding, bounded streaming, and import compatibility

Object Graph Editing and Page Assembly