Skip to main content

Module codec

Module codec 

Source
Expand description

A planned [Value] round-tripped through JSON into a concrete shape, which is how a forge adapter decodes a planned field back into the typed request or response body a write expects.

Functionsยง

encode
Encode a request body that always encodes: a facet-derived struct of plain fields or a [Value] this crate built.
redecode
Round-trip value through JSON into T.