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§
- Debug
ToJson - To generate DebugToJson implementation for any struct or enum, where all members also implement DebugToJson
use
#[derive(DebugToJson)]. - TryFrom
Json - To generate TryFromJson implementation for any struct or enum, where all members also implement TryFromJson
use
#[derive(TryFromJson)]. - Validate
Json - To generate ValidateJson implementation that always passes the validation use
#[derive(ValidateJson)]. - Write
ToJson - To generate WriteToJson implementation for any struct or enum, where all members also implement WriteToJson
use
#[derive(WriteToJson)].