API Reference formata v#0.3.2

Copy Markdown View Source

Modules

Composable data codecs, schemas, and validation for Elixir.

Composable Elixir schema validation, transformation, and JSON Schema conversion.

Defines the structure and functions for handling validation errors in the Formata.Backplane.Schema schema validation library.

Depth-first schema rewriter.

Behaviour for format adapters and the portable value domain they share.

JSON codec backed by Formata.Jason.

Incremental parser for a single JSON document that arrives in chunks.

TOML codec: decoding with Formata.Toml.decode/2 (forked from gsmlg_toml), encoding with Formata.Codec.TOML.Encoder.

Focused TOML 1.0.0 encoder.

Single-document YAML codec: decoding with Formata.YamlElixir (yamerl), encoding with Formata.Ymlr.

Structured error returned by every Formata operation.

A JSON library module for Phoenix and Plug.

Schema creation, checking, and compiled-schema metadata.

JSON Schema documents compiled and validated by Formata.Backplane.JsonSchema.

Native schemas: Formata.Backplane.Schema definitions used through Formata.

Explicit, opt-in data transformations.