pub fn declarative_source_resolve_dotted_path<'a>(
root: &'a Value,
dotted_path: &str,
) -> Option<&'a Value>Expand description
Resolves a dot-separated object or array path without creating intermediate values.
§Parameters
root: Input consumed bycrate::declarative::declarative_source_resolve_dotted_path.dotted_path: Input consumed bycrate::declarative::declarative_source_resolve_dotted_path.
§Returns
Returns Some when crate::declarative::declarative_source_resolve_dotted_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::declarative::declarative_source_resolve_dotted_path.
§Examples
ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_resolve_dotted_path(std::path::Path::new("."), todo!());§Related
crate::declarativefor adjacent helpers that share the same runtime surface.