Skip to main content

emit_json_text

Function emit_json_text 

Source
pub fn emit_json_text(value: &Value) -> String
Expand description

Returns compact JSON text or an empty object for invalid input.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::json_commands::emit_json_text.

§Examples

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