Module htrpc::json_pretty [] [src]

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")]).

Reexports

pub use json::deserialize;

Functions

serialize

Serializes the value as a pretty printed JSON string.