Module htrpc::json_pretty
source · Expand description
Pretty-Printed JSON serialize/deserialize function.
This module can be used as the value of the serde(with)
attribute
(i.e., #[serde(with = "htrpc::json_pretty")]
).
Re-exports
pub use json::deserialize;
Functions
- Serializes the value as a pretty printed JSON string.