Store result of json request in a variable I need to store a value of json response to use in another function.