The usecase to extract non null entries from json array and get the output as array. I\'m using jq as I implement it as a shell script. Consider this payload:
[ {