deepdiff icon indicating copy to clipboard operation
deepdiff copied to clipboard

Allow callable or lambda to exclude/include paths

Open avoidik opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

I would like to have more flexible option to be able to exclude particular matches.

Describe the solution you'd like

I would like to supply a callable/lambda function instead, to be able to exclude/include particular paths. For instance, jsonpath based.

Describe alternatives you've considered

Two existing options (root+key and regexp) do not fully cover my needs due to complex structure.

Additional context

N/A

avoidik avatar Jan 20 '25 11:01 avoidik