Crate nop_json_derive

Source
Expand description

This is helper crate intended to be used internally in nop_json crate. Don’t use it directly. See nop_json crate for details.

Derive Macros§

DebugToJson
To generate DebugToJson implementation for any struct or enum, where all members also implement DebugToJson use #[derive(DebugToJson)].
TryFromJson
To generate TryFromJson implementation for any struct or enum, where all members also implement TryFromJson use #[derive(TryFromJson)].
ValidateJson
To generate ValidateJson implementation that always passes the validation use #[derive(ValidateJson)].
WriteToJson
To generate WriteToJson implementation for any struct or enum, where all members also implement WriteToJson use #[derive(WriteToJson)].