Expand description
codec — conformance runner adapter COMMON part (PROTOCOL §2).
Converts the golden-vector typed wire encoding ({int:"…"} / {float:n} /
{nan} / {inf} / bare JSON number classification) into the runtime Value,
and back. All language runners must decode identically to produce identical
pass/fail results.
Structs§
- Decode
Error - Error decoding a wire value into a runtime value.
Functions§
- decode_
value - Decode the golden-vector JSON value representation into a runtime
Value(expression-ir.md §2.3 inverse map). - encode_
value - Encode a runtime
Valueback into the golden wire representation (for producing diagnostic detail on a failing vector; mirrors TSencodeValue).