jembi / openhim-mediator-mapping

An OpenHIM mediator for mapping incoming content to a different format
https://jembi.github.io/openhim-mediator-mapping/
MIT License
3 stars 7 forks source link

Clear empty objects from output #34

Closed MattyJ007 closed 4 years ago

MattyJ007 commented 4 years ago

Depending on the nesting of the mapping and null in the input data, the output object can have objects created and never populated.

MattyJ007 commented 4 years ago

This has been recorded in node-object-mapper: https://github.com/jembi/node-object-mapper/issues/4