Skip to main content

json_obj_get_string

Function json_obj_get_string 

Source
pub fn json_obj_get_string(object: &Value, key: &str) -> Option<String>
Expand description

Duplicates one object string member.

§Parameters

§Returns

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

§Examples

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