pub fn json_doc_load_file(path: &Path) -> Option<Value>Expand description
Loads a JSON document from disk with size and object-depth guards.
§Parameters
path: Input consumed bycrate::runtime::json_commands::json_doc_load_file.
§Returns
Returns Some when crate::runtime::json_commands::json_doc_load_file can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::json_doc_load_file.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::json_doc_load_file(std::path::Path::new("fixture.json"));§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.