Function |from_option_number_i64

json/value::|from_option_number_i64


Usage

|from_option_number_i64<I>(value)

Generics

◻ I: ToI64

Parameters

↳ value: Option<I>

Return

↴ Json


Makes a JSON numeric or null value from option of convertible i64 value.

If value is some number, it is turned into JSON, else if value is none, null JSON value is returned.