ICYMI: Tip number one will be about data existence check. There are often situations that nearly the same conditions need to be checked in every line. I have seen many transformations that were really long and complex. Reading them was not only difficult but a lot of repeatable conditional checks were made. Here I will show you an example that will evolve to a point where we can reuse everything that was possible. As a result, we should achieve more concise and readable transformations. MuleSoft is about to release new DataWeave, which is why my examples are both in 1.0 and 2.0.
Contract
Here is the input in XML format and the expected JSON result: https://goo.gl/XqZYBS #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)