pub fn write_map_iter_at<'a, T, I>(
json: &mut Vec<u8>,
path: &[PathSegment<'_>],
iter: I,
) -> Result<(), Error>Expand description
Encode a string-key map as a JSON object and replace the value at path.
This is a closed map write (full object replace), not a per-key open merge.