Skip to main content

JsonDecode

Derive Macro JsonDecode 

Source
#[derive(JsonDecode)]
Expand description

Derives reliakit_json::JsonDecode, the inverse of JsonEncode. Decoding is strict: the JSON shape must match, and required object fields must be present; unknown object fields are ignored.

Enums are not supported yet. See the crate documentation.