pub trait ToJSON { // Required method fn to_json(&self) -> String; }
A data type that can be converted to a JSON-format string.