Skip to main content

ser_dec

Function ser_dec 

Source
pub fn ser_dec<S: Serializer>(value: &Decimal, s: S) -> Result<S::Ok, S::Error>
Expand description

Writes a decimal as a JSON text, the way the API wants numbers in a request.