std/json:parse: A Destructure Is a Schema
std/json:parse reads the ok branch's destructure as the input schema and emits a bespoke recursive-descent parser per call site — no DOM, no navigation calls, typed fields land as bindings. std/json:emit is the symmetric writer: a record literal is the output schema and the generated code appends bytes straight to a buffer. Both directions out-run the yyjson wrapper ~20x; raced against serde derive doing the same typed extraction, ~1.8x — and the idiom generalizes to any protocol whose shape a program can name at comptime.