Skip to main content

write_json

Function write_json 

Source
pub fn write_json<W: Write>(
    doc: &PdfDocument,
    writer: &mut W,
) -> Result<(), EdgePdfError>
Expand description

Write a PdfDocument as JSON to the given writer.

§Errors

Returns EdgePdfError::OutputError if serialization fails.