pub fn emit_object_string_field(text: &str, key: &str) -> Option<String>Expand description
Returns a JSON object field as text.
§Parameters
text: Input consumed bycrate::runtime::json_commands::emit_object_string_field.key: Input consumed bycrate::runtime::json_commands::emit_object_string_field.
§Returns
Returns Some when crate::runtime::json_commands::emit_object_string_field can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::emit_object_string_field("{}", "key");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.