Support for expressions (JSONPath, JMESPath or similar) when scrubbing. #1165
Closed
bjorkstromm
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Forgot to mention, but if you'd consider this a useful feature @SimonCropp, I'd be more than happy to try submitting a PR. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Consider having a JSON like
Now if I want to scrub
id
in the inner objectc
, there's no easy way to do it using only JSON. The below will scrub all properties with nameid
.I propose adding support for JSONPath, JMESPath (or similar) expressions for more fine-grained control on which members to scrub. In the above example, if I only want the inner
id
scrubbed I could do something like:Beta Was this translation helpful? Give feedback.
All reactions