a='{"message":"done it","result":"1204","status":200}'
array_num=0
while read LINE; do
curl_answ_array[${array_num}]=${LINE}
let array_num=${array_num}+1
done < <(echo ${a}|grep status -m 1|tr -d '\"{}'|awk '{split($0,stuff,","); for(i in stuff) { print(stuff[" i "]= stuff[i])} }')