Make JSON empty values

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

Make JSON empty values

Post by Dave23 »

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