pub fn json_obj_get<'a>(object: &'a Value, key: &str) -> Option<&'a Value>Expand description
Returns one object member without cloning it.
§Parameters
object: Input consumed bycrate::runtime::json_commands::json_obj_get.key: Input consumed bycrate::runtime::json_commands::json_obj_get.
§Returns
Returns Some when crate::runtime::json_commands::json_obj_get can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::json_obj_get(todo!(), "key");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.