Package io.micronaut.serde.toon.util


@NullMarked package io.micronaut.serde.toon.util
Internal utilities for TOON serialization support.
  • Classes
    Class
    Description
    Builds a JSON tree from a TOON document.
    Writes a JSON tree as a TOON document.
    Quote-aware lexical utilities shared by ToonEncoder (encode) and ToonDecoder (decode).
    Formats numbers in the canonical decimal form required by the TOON specification: no leading zeros, no trailing fractional zeros, -0 normalized to 0, NaN/infinite values encoded as null, and scientific notation only outside the 1e-6 <= |n| < 1e21 magnitude window.