Now that it's live, don't forget to accept your certification badge on Credly today! Learn more here.
We are currently experiencing an issue with Email verification at this time and working towards a solution. Should you encounter this issue, please click on the "Send Verification Button" a second time and the request should go through. If the issue still persists for you, please email for assistance.

Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

JSON Parse tool dropping empty arrays

7 - Meteor

I am getting a response from an API using the download tool.  The response contains some objects that are empty arrays.  These empty arrays are present in the output from the download tool, but once I parse the response using the JSON parse tool, they disappear.  Is there any way I can retain those empty arrays?


This response will be a bit conceptual in nature because I don't have a dataset in front of me, but you could theoretically use multiple summarize tools which group by each array field. Then you could use the append tool to append each group from each summarize to every other group. This would create a combination of every group regardless of whether or not it had an array. You could then join this data back to the original dataset and observe what is falling out of the side of the join and union that with your inner join. This way you would still have the empty arrays they would just have null values in the corresponding columns.