Skip to main content

set_nested

Function set_nested 

Source
pub fn set_nested(
    value: &mut Value,
    key: &str,
    new_val: Value,
) -> Result<(), String>
Expand description

Set a value at a dotted key path, creating intermediate maps as needed.