Modules
TOON (Token-Oriented Object Notation) encoder and decoder for Elixir.
Constants used throughout the TOON encoder and decoder.
Main decoder for TOON format.
Compile-time code generation utilities for the TOON decoder.
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.
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).
String encoding utilities for TOON format.
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.
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.
Type definitions for TOON encoder and decoder.