Set variable By JSON attribute

Set a variable to the value of a JSON attribute.