yyjson_mut_set_fp_to_float

Function yyjson_mut_set_fp_to_float 

Source
pub unsafe extern "C" fn yyjson_mut_set_fp_to_float(
    val: *mut yyjson_mut_val,
    flt: bool,
) -> bool
Expand description

Set the floating-point number’s output format to single-precision. Returns false if input is NULL or val is not real type. @see YYJSON_WRITE_FP_TO_FLOAT flag. @warning This will modify the immutable value, use with caution.