Skip to main content

mut_json_obj_get_long_default

Function mut_json_obj_get_long_default 

Source
pub fn mut_json_obj_get_long_default(
    object: &Value,
    key: &str,
    default_value: i64,
) -> i64
Expand description

Reads a numeric object field with a bounded fallback.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::dynamic::mut_json_obj_get_long_default.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::mut_json_obj_get_long_default(todo!(), "key", todo!());