here i am parsing a json file and storing values as array.
arr1=(`jq \'.animal.names\' 123.json | sed...`)
output: fox tiger lion