Function json_patch::patch_unsafe
source · pub fn patch_unsafe(doc: &mut Value, patch: &Patch) -> Result<(), PatchError>
Expand description
Patch provided JSON document (given as serde_json::Value
) in place.
Operations are applied in unsafe manner. If any of the operations fails, all previous
operations are not reverted.