macro_rules! impl_json_debug_pretty {
($($t:ty),+) => { ... };
}Expand description
Implements the Debug trait for the specified types, formatting the output as pretty-printed JSON.
This macro generates an implementation of std::fmt::Debug that serializes the object to a
pretty-printed JSON string. If serialization fails, it displays an error message.