Skip to main content

write_json_file

Function write_json_file 

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

Writes JSON file.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::generated::write_json_file holds and false otherwise.

§Examples

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