Skip to main content

emit_compact_json_mut_value

Function emit_compact_json_mut_value 

Source
pub fn emit_compact_json_mut_value(value: &mut Value) -> Option<String>
Expand description

Emits a compact mutable JSON value and retains the caller’s mutation ownership.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_compact_json_mut_value("value");