Skip to main content

Serialize

Derive Macro Serialize 

Source
#[derive(Serialize)]
{
    // Attributes available to this derive:
    #[serde]
}
Available on crate feature serde only.
Expand description

Re-export of serde::Serialize + serde::Deserialize under the opt-in serde feature (issue #6). Lets downstream code write use obj::{Serialize, Deserialize} without a separate serde dependency — the same convention tokio and axum use.