omit-empty icon indicating copy to clipboard operation
omit-empty copied to clipboard

Extend options to allow empty arrays and ignored properties

Open mikegirard opened this issue 6 years ago • 1 comments

When building responses for REST List responses, an empty array is significant. So extended options to allow them to pass through.

Also added support for a simple-minded excludedProperties to prevent omitEmpty from traversing/processing specific properties. (Just in case you want to exclude something from processing due to weirdness in requirements.

mikegirard avatar Dec 06 '19 20:12 mikegirard

Any updates on this? I also have a similar use case. Thanks

jvdownie avatar Apr 09 '20 01:04 jvdownie