pub fn object_value_at_path(text: &str, path: &str) -> Option<String>Expand description
Returns a JSON value at a dotted object path.
§Parameters
text: Input consumed bycrate::runtime::json_commands::object_value_at_path.path: Input consumed bycrate::runtime::json_commands::object_value_at_path.
§Returns
Returns Some when crate::runtime::json_commands::object_value_at_path 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::object_value_at_path.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::object_value_at_path("{}", std::path::Path::new("fixture.json"));§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.