pub fn apply_patch(
target: &Value,
patch: &JsonPatch,
) -> Result<Value, PatchError>Expand description
Apply a JSON Patch to a value, returning a new value.
This is a convenience function that clones the input.
ยงErrors
Returns an error if any operation fails.