Function json_diff
Source pub fn json_diff(source: &Value, target: &Value) -> JsonPatch
Expand description
Generate a JSON Patch that transforms source into target.
§Arguments
source - The original JSON document
target - The desired JSON document
§Returns
A JsonPatch containing operations to transform source into target.