title: making a get request to .json URI in java and receiving its contents
body: <p>I have this URI <a href="http://data.seattle.gov/api/views/vncn-umqp/rows.json" rel="nofollow">http://data.seattle.gov/api/views/vncn-umqp/rows.json</a> of type <strong>.json</strong> and want to make a GET request to retrieve the <code>data</code> part of the object (see the latter part of the page with "data") for plotting purposes.</p>
  
  <p>Problem is I am not sure whether to use <code>HttpURLConnection</code>, <code>URL</code>,<code>URLConnection</code> or <code>Connection</code> or any other similar resource to receive a successful 200 response. Moreover, this URI's domain provides a REST API <a href="https://github.com/socrata/socrata-api-java" rel="nofollow">right here</a> for request but due to inconsistencies in documentation (for example they use sun.Base64Encoder for encoding user credentials, which is not for use or unavailable) I find it really hard to employ for connection, let alone for data retrieving.</p>
  
  <p>They also use an authentication method with API key but I am not sure which one does the job for the task's simplicity (i.e., which one is necessary only for reading data from this particular URI)</p>
  
  <p>Can anyone provide me the solution on how to make such a request?</p>