// In Serde, unit means an anonymous value containing no data. Map this to
// JSON as `null`.
In Serde, unit means an anonymous value containing no data. Map this to
JSON as `null`.
In Serde unit means an anonymous value containing no data . Map this to JSON as ` null ` .
fn serialize_unit(self) -> Result<()> {
        // self.output += "null";
        // Ok(())
        Err(Error::Message(String::from(
            "unit is not implemented/serializable",
        )))
    }
fn serialize_unit ( self ) -> Result < ( ) > { // self.output += "null"; // Ok(()) Err ( Error :: Message ( String :: from ( " " , ) ) ) }
In Serde, unit means an anonymous value containing no data.
In Serde unit means an anonymous value containing no data .
self