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
Make JSON empty values
Re: Make JSON empty values
First, there is a section on the Forum for App questions.
I'll make an update of the App that will handle empty variables. I hope that it can be ready early next week.
I'll make an update of the App that will handle empty variables. I hope that it can be ready early next week.
Re: Make JSON empty values
Dave, can you send me an email with some example of your variables and the JSON you are trying to do.
I can then send you a "Beta" of the app for testing.
I can then send you a "Beta" of the app for testing.
Re: Make JSON empty values
Hi jan_suhr,
Thanks for this, appreciate it. I have just pm'd you with both sample xml and json.
Thanks for this, appreciate it. I have just pm'd you with both sample xml and json.
Re: Make JSON empty values
There is now a new version on the App store that has been fixed to solve this problem
Re: Make JSON empty values
Hi jan,
I've updated to version 7 in the app store, however when i refresh in switch itself the "make json" app disappears. Is this a bug, or am doing something wrong? Every other version works fine and i can versions 1-6 in switch.
Thanks
I've updated to version 7 in the app store, however when i refresh in switch itself the "make json" app disappears. Is this a bug, or am doing something wrong? Every other version works fine and i can versions 1-6 in switch.
Thanks