title: Java run cURL and return website page results
body: <p>I am trying to run some Java to run cURL to hit a website with data and this is working.</p>
  
  <pre><code>Runtime rt = Runtime.getRuntime();
  Process pr = rt.exec("curl -s -S http://foo.com/testcode/Moo.cfm?PageName=" + $(Page.Name) + "&amp;ProjectName=" + $(ProjectName));
  </code></pre>
  
  <p>cURL is hitting this website and sending the PageName and ProjectName variables.</p>
  
  <p>The web page outputs some JSON.</p>
  
  <p>How do i capture this JSON that the website is displaying and use it in my Java?</p>