Modules
TOON (Token-Oriented Object Notation) encoder and decoder for Elixir.
BTOON — a compact binary codec for the TOON data model.
Wraps a raw binary value so the encoder emits tag 0x08 (Binary) instead
of tag 0x07 (String). Plain Elixir binaries are always encoded as UTF-8
strings.
Binary constants for the BTOON wire format.
BTOON decoder.
Validation and normalization of BTOON decoding options.
Exception raised when BTOON decoding fails.
A session string dictionary.
Element type selectors and raw numeric encoding helpers.
BTOON encoder.
Validation and normalization of BTOON encoding options.
Exception raised when BTOON encoding fails.
Protocol for encoding custom data structures to BTOON format.
Helper macro for generating ToonEx.Btoon.Encoder protocol implementations.
A columnar table of homogeneous numeric columns (tag 0x0D).
A single column definition of an Btoon.ObjectTable.
Satisfies the PhoenixClient JSON-parser contract, which requires
encode/2, encode!/2, decode/2, decode!/2 and encode_to_iodata!. The
optional opts argument is accepted but intentionally ignored so that this
module can be dropped in wherever a standard JSON library is expected.
A named, typed record schema for schema-mode encoding.
Compiles a BTOON schema into a specialized encoder function.
A homogeneous numeric array stored as a contiguous binary buffer.
Type definitions and wrapper types for the BTOON codec.
Constants used throughout the TOON encoder and decoder.
Main decoder for TOON format.
High-performance TOON decoder using pure binary pattern matching.
Validation and normalization of decoding options.
NimbleParsec-based parser for TOON format.
Structural parser for TOON format that handles indentation-based nesting.
Exception raised when decoding fails.
Main encoder for TOON format.
Encoding of TOON arrays in three formats
Encoding of TOON objects (maps).
Validation and normalization of encoding options.
Encoding of primitive TOON values (nil, boolean, number, string).
Streaming encoder for TOON format.
String encoding utilities for TOON format.
Writer for building TOON output incrementally with efficient indentation handling.
Exception raised when encoding fails.
Protocol for encoding custom data structures to TOON format.
Provides a way to inject an already-encoded TOON structure into a to-be-encoded structure in optimized fashion.
Provides macro facilities for partial compile-time encoding of TOON.
Transforms between JSON and TOON format.
Pure Elixir options validator to replace NimbleOptions.
A TOON object that preserves the order of its keys.
Satisfies the PhoenixClient JSON-parser contract, which requires
encode/2, encode!/2, decode/2, decode!/2 and encode_to_iodata!. The optional
opts argument is accepted but intentionally ignored so that this
module can be dropped in wherever a standard JSON library is expected.
Helper macro for generating ToonEx.Encoder protocol implementations.
Type definitions for TOON encoder and decoder.