Skip to main content

json_obj_get_array

Function json_obj_get_array 

Source
pub fn json_obj_get_array<'a>(
    object: &'a Value,
    key: &str,
) -> Option<&'a Vec<Value>>
Expand description

Returns one object array member.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::json_obj_get_array(todo!(), "key");