Skip to main content

apply_patch

Function apply_patch 

Source
pub fn apply_patch(target: &mut Value, patch: &[PatchOp]) -> Result<(), String>
Expand description

Apply a patch to a view document in place. Returns an error message on the first op that does not apply (the caller should resnapshot).