Package dev.omnist.codec


package dev.omnist.codec
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.
  • Class
    Description
    Codec for reading and writing the Omnist Document model as JSON (omnist-spec §7.3).
    Codec for reading and writing the Omnist Document model as TOML (omnist-spec §7.3), built on the tomlj parser.
    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 a WriteReport (omnist-spec §8.3.8's format.* diagnostic family — e.g. a dropped null, or a temporal value stringified because the format has no native temporal type).
    Thrown by a codec's write/check path when a document cannot be written to the target format at all (e.g.
    Accumulates 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.
    Codec for reading and writing the Omnist Document model as XML (omnist-spec §7.3), built on javax.xml.parsers/DOM.
    Codec for reading and writing the Omnist Document model as YAML (omnist-spec §7.3), built on SnakeYAML.