CAP never authorizes.
Deterministic JSON decoder producing a closed tagged value algebra.
Object order is preserved, duplicate names and trailing non-whitespace are rejected, numbers must round-trip an ECMAScript double, and malformed input always returns a value-free typed error.
Summary
Functions
Decode one complete JSON value.
Decode one complete JSON value within caller-supplied ceilings.
Types
Functions
@spec decode(term()) :: {:ok, value()} | {:error, CharterAgreementProtocol.Error.t()}
Decode one complete JSON value.
@spec decode(term(), term()) :: {:ok, value()} | {:error, CharterAgreementProtocol.Error.t()}
Decode one complete JSON value within caller-supplied ceilings.