Function musli_json::encoding::encode

source ·
pub fn encode<W, T>(writer: W, value: &T) -> Result<(), Error>
where W: Writer, Error: From<W::Error>, T: ?Sized + Encode<DefaultMode>,
Expand description

Encode the given value to the given Writer using the DEFAULT configuration.