Skip to main content

to_json_string

Function to_json_string 

Source
pub fn to_json_string(doc: &PdfDocument) -> Result<String, EdgePdfError>
Expand description

Serialize a PdfDocument to a JSON string.

§Errors

Returns EdgePdfError::OutputError if serialization fails.