Uses of Package
dev.omnist.codec
Packages that use dev.omnist.codec
Package
Description
Reading and writing the
Document model as the
non-OML wire formats — JSON, YAML, TOML, and XML (omnist-spec §7.3) — including
the lossy-adjustment reporting (WriteReport) that
records when a format's constraints force a value to be adjusted on write.The lexer and parser for OML, Omnist's canonical text format (omnist-spec §4)
— the format every other codec's input is normalized through and every
omnist format output is written in.-
Classes in dev.omnist.codec used by dev.omnist.codecClassDescriptionThrown by a writer that meets an unencodable string while it is writing, so that it needs no separate scan first; the writer catches it and turns it into the
Encodability.refusal(dev.omnist.document.Document)of C-9.A single format-specific adjustment a codec's writer made to represent a document in a target format that cannot express it exactly, part of aWriteReport(omnist-spec §8.3.8'sformat.*diagnostic family — e.g. a dropped null, or a temporal value stringified because the format has no native temporal type).Thrown by a codec'swrite/checkpath when a document cannot be written to the target format at all (e.g.Accumulates theformat.*adjustments (omnist-spec §8.3.8) a codec's writer made while serializing a document that couldn't be represented exactly in the target format.The two YAML alias limits of omnist-spec section 2.4.1: the maximum alias expansion factor (D-18) and the maximum expanded size (D-22). -
Classes in dev.omnist.codec used by dev.omnist.omlClassDescriptionAccumulates the
format.*adjustments (omnist-spec §8.3.8) a codec's writer made while serializing a document that couldn't be represented exactly in the target format.