Make JSON empty values

Post Reply
Dave23
Member
Posts: 37
Joined: Thu Oct 12, 2017 4:42 pm

Make JSON empty values

Post by Dave23 » Wed Jan 23, 2019 12:35 pm

Morning all,

I'm using "Make JSON" app to generate a json which i am then using to generate an order in our production environment. I am using variables from xml for the values in the json.

The problem I am having is that if one of those values is empty, the json will submit the order but in place of the empty value it will use 'undefined'.

Is there a way to remove all name/values when a value is empty?

Thanks

Post Reply