Skip to main content

merge_patch_into_mut_object

Function merge_patch_into_mut_object 

Source
pub fn merge_patch_into_mut_object(target: &mut Value, patch: &Value) -> bool
Expand description

Merges an object patch into a mutable object document.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::merge_patch_into_mut_object holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::merge_patch_into_mut_object.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::merge_patch_into_mut_object("/", todo!());