[][src]Module bookbinder::deserialization

Structs

AuthoredAncillaryText

Struct for deserializing authored ancillary texts like an introduction

DeserializableBook

Deserializable container for a book's source and options; note that these are flattened when deserialized, so that keys for both options and src are at the same level in the same json object.

DeserializableBookSrc

A simplified representation of a book source for easy deserializing.

Epigraph

Deserializable representation of an epigraph

UnauthoredAncillaryText

Struct for deserializing ancillary texts which are by the author or unauthored, such as acknowledgments.

UnifiedOptions

A representation of options which combines options across output formats; those which do not apply will be ignored.

Enums

PathOrString

Either a path to a markdown file, or a markdown string in its own right.

Functions

create_ast_from_json
create_epub_from_json

Create an epub from a json representation of a DeserializableBook.

create_pdf_from_json

Create a pdf from a json representation of a DeserializableBook.