pub fn set( input: &[u8], opts: &Options, path: &str, value: &NewValue, ) -> Result<Vec<u8>, Diag>
Set the field at path to value: edit(input, opts, &Op::Set(..)).
path
value
edit(input, opts, &Op::Set(..))