pub fn resolve_dotted_path(text: &str, dotted: &str) -> Option<PolicyPath>Expand description
Resolve a serde_path_to_error-style dotted path (e.g.
target.api.example.com.retry.attempts, where the target key itself
contains dots) against the document, greedily matching the longest key at
each level. Array indices (on[1]) are stripped. When the path descends
into a non-table value with segments left over, the path to that value is
returned — it is the entry to fix. Returns None when nothing matches.