title: how to manipulate HTTP json response data in Java
body: <pre><code>HttpGet getRequest=new HttpGet("/rest/auth/1/session/");
  getRequest.setHeaders(headers);
  httpResponse = httpclient.execute(target,getRequest);
  
  entity = httpResponse.getEntity();
  
  System.out.println(EntityUtils.toString(entity));
  </code></pre>
  
  <p>Output as follows in json format </p>
  
  <pre><code>----------------------------------------
  {"session":{"name":"JSESSIONID","value":"5F736EF0A08ACFD7020E482B89910589"},"loginInfo":{"loginCount":50,"previousLoginTime":"2014-11-29T14:54:10.424+0530"}}
  ----------------------------------------
  </code></pre>
  
  <p>What I want to know is how to you can manipulate this data using <strong>Java</strong> without writing it to a file?
  I want to print name, value in my code</p>
  
  <p>Jackson library is preferred but any would do.</p>
  
  <p>thanks in advance  </p>