pub fn add_json_string_or_null(
object: &mut Map<String, Value>,
key: &str,
value: Option<&str>,
) -> boolExpand description
Adds a nullable string field to an object.
§Parameters
object: Input consumed bycrate::runtime::json_commands::add_json_string_or_null.key: Input consumed bycrate::runtime::json_commands::add_json_string_or_null.value: Input consumed bycrate::runtime::json_commands::add_json_string_or_null.
§Returns
Returns true when the condition checked by crate::runtime::json_commands::add_json_string_or_null holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::add_json_string_or_null(todo!(), "key", "value");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.