Sanitize all object keys


i want to “escape|trim” all possible values inside an object
but this does nothing:

'properties.*': 'escape|trim',

i don’t know what keys may be inside properties (are random)
just want all of them (if any) be escaped


properties.* targets an array and not an object. Also currently it’s not possible to target unknown object keys, since they can have unlimited depth and different data types.

You can write custom rule for that