(raw: &Value, key: &str)
| 176 | } |
| 177 | |
| 178 | fn value_string(raw: &Value, key: &str) -> Option<String> { |
| 179 | raw.get(key).and_then(Value::as_str).map(ToOwned::to_owned) |
| 180 | } |
| 181 | |
| 182 | fn value_at(raw: &Value, path: &[&str]) -> Option<String> { |
| 183 | let mut current = raw; |
no test coverage detected