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