Skip to main content

Crate jsonapi_core_derive

Crate jsonapi_core_derive 

Source
Expand description

Derive macro implementation for jsonapi_core.

This crate provides the #[derive(JsonApi)] procedural macro that generates ResourceObject, serde::Serialize, and serde::Deserialize impls for user-defined JSON:API resource types. It is re-exported by jsonapi_core under the derive feature (on by default) and is not intended to be used directly.

Derive Macrosยง

JsonApi
Derive macro for JSON:API resource types.