Skip to main content

set_dot_path

Function set_dot_path 

Source
pub fn set_dot_path(root: Value, path: &str, new_value: Value) -> Result<Value>
Expand description

Set a nested value in a Value using dot-notation. Creates intermediate objects along the path if they do not exist.