Skip to main content

write_mutable_json_doc

Function write_mutable_json_doc 

Source
pub fn write_mutable_json_doc(path: &Path, value: &Value) -> i32
Expand description

Writes a bounded mutable JSON document through the native filesystem surface.

§Parameters

§Returns

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

§Examples

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