***Consider this article as a more advanced version of Magic Formula to Solve Complex Problems in Make***
Have your ever faced a situation where outputs of preceding module were not consistent in Make? For example, an item within an array would come as an array, but the next item with the same array would come as a collection? This video addresses the problem and shows the solution of how to process the inconsistent objects.
In other words, you will learn about developing a programming-like approach to solve complex problems in Make by using:
- Router
- Set/Get Variables modules
- keys(…) function to iterate through collections
The video is processing the sample JSON below – you can use it for practicing:
[
{
"from":"joe@doe.com",
"form":[
{
"answer_type":"collection",
"answers":{
"1":"blue",
"2":"yellow",
"other":"purple"
}
},
{
"answer_type":"array",
"answers":["42","52"]
}
]
}
]
Looking for someone to build your integrations?
HIRE ME