title: Storing Json response element in a variable using Karate
body: <p>Storing the following json response in a variable</p>
  
  <p><code>[{"Resort":"SANRS","ResvNameID":14396162,"ConfirmationNo":"86749976"},
  {"Resort":"SANRS","ResvNameID":13123123,"ConfirmationNo":"98932423"}]</code></p>
  
  <p>And def allres = response
  And print allres.reservations[0].ResvNameID does not print anything? What's wrong here?</p>