passing json data as variable

passing json data as variable