title: How to get a value from a JSON (string) in Groovy
body: <p>I have been struggling to figure out how to get a parameter out of a JSON string in Groovy.</p>
  
  <p>I have a string similar to:</p>
  
  <pre><code>'{"id":"12345678","name":"Sharon","email":"sharon\u0040example.com"}'
  </code></pre>
  
  <p>and am trying to extract the email address.</p>
  
  <p>I can of course use regex, or other substring methods, but I'm sure there is a cleaner way.</p>