Forum Discussion
tstack
8 years agoFormer Employee
Unfortunately, there’s no direct way to do that at the moment. One option is to use a second mapper to delete the property if it is null using a path like $[?(key == 'a' && value == null)]
. It’s a reasonable, if uncommon, request. I’ll file feature request and see if we can come up with a solution.