Skip to main content

emit_compact_mutable_json_doc

Function emit_compact_mutable_json_doc 

Source
pub fn emit_compact_mutable_json_doc(path: &Path) -> Option<String>
Expand description

Compacts a mutable JSON document read from disk.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::emit_compact_mutable_json_doc(std::path::Path::new("fixture.json"));