Skip to main content

json_long_from_value

Function json_long_from_value 

Source
pub fn json_long_from_value(value: &Value) -> Option<i64>
Expand description

Reads a JSON integer value.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::json_long_from_value can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::json_long_from_value("value");