foundry_cheatcodes::json

Function canonicalize_json_path

Source
pub(crate) fn canonicalize_json_path(path: &str) -> Cow<'_, str>
Expand description

Canonicalize a json path key to always start from the root of the document. Read more about json path syntax: https://goessner.net/articles/JsonPath/