#ICYDK: During the transformation to JSON, I do not often want null properties. It is easy to remove them by just using skipNullOn attribute. However, for empty objects, it is not that trivial, especially when you have to deal with many such cases within one transformation. In this article, I will show you how you can achieve this quick and easy.
Contract
Below you can see what we have as an input and what we expect. In our example we have complex.embedded.obj empty and contents’ array with two empty objects. I would like to to easily remove them from the output. https://goo.gl/aHPGgN #DataIntegration #ML
Share this:
- Click to share on Facebook (Opens in new window)
- Click to share on Twitter (Opens in new window)
- Click to email a link to a friend (Opens in new window)
- Click to share on LinkedIn (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Pinterest (Opens in new window)
- Click to share on Reddit (Opens in new window)