Open mzagrabe opened 1 year ago
Greetings,
Thank you for yaml-rust!
I see in the docs:
assert_eq!(doc["foo"][0].as_str().unwrap(), "list1");
I would like to do something like:
let key = "[foo][0]"; assert_eq!(doc.dynamic_lookup(key).unwrap(), "list1");
Do you know if it is possible with yaml-rust?
Thanks!
https://github.com/ejrh/yaml-path
Greetings,
Thank you for yaml-rust!
I see in the docs:
assert_eq!(doc["foo"][0].as_str().unwrap(), "list1");
I would like to do something like:
Do you know if it is possible with yaml-rust?
Thanks!