Function |try_from_number_f64

json/value::|try_from_number_f64


Usage

|try_from_number_f64<F>(value)

Generics

◻ F: ToF64

Parameters

↳ value: F

Return

Option<Json>


Try to make a JSON numeric value from f64

An infinite or NaN number is not a valid JSON value, and then return none value if in that case.