(raw: &mut Value, key: &str, value: Value)
| 724 | } |
| 725 | |
| 726 | fn insert_if_missing(raw: &mut Value, key: &str, value: Value) { |
| 727 | if let Some(obj) = raw.as_object_mut() { |
| 728 | obj.entry(key.to_string()).or_insert(value); |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | fn value_string(raw: &Value, key: &str) -> Option<String> { |
| 733 | raw.get(key) |
no outgoing calls
no test coverage detected