Function json_writer::write_float

source ·
pub fn write_float(output_buffer: &mut String, value: f64)
Expand description

If value is finite then value is converted to string and appended to buffer. If value is NaN or infinity, then the string “null” is appended to buffer (without the quotes)