Crate nop_json_derive[−][src]
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
To generate DebugToJson implementation for any struct or enum, where all members also implement DebugToJson
use #[derive(DebugToJson)]
.
To generate TryFromJson implementation for any struct or enum, where all members also implement TryFromJson
use #[derive(TryFromJson)]
.
To generate ValidateJson implementation that always passes the validation use #[derive(ValidateJson)]
.
To generate WriteToJson implementation for any struct or enum, where all members also implement WriteToJson
use #[derive(WriteToJson)]
.