title: Importing JSON into an Eclipse project
body: <p>I'm an aspiring Java programmer looking to use JSON in a project. I was following a programming tutorial (from a book) which asked me to import JSON into my project by using the following line:</p>
  
  <pre><code>import com.google.appengine.repackaged.org.json.JSONArray; 
  </code></pre>
  
  <p>But this produced an error, so I replaced it with this line:</p>
  
  <pre><code>import org.json.JSONArray;
  </code></pre>
  
  <p>This also produces a (different) error:</p>
  
  <blockquote>
    <p>The import org.json cannot be resolved</p>
  </blockquote>
  
  <p>I think the problem is that I don't actually have the JSON library in my Eclipse workspace. How can I do this, so I can use the JSONArray? I found the website for JSON, but am not sure what to download or how or where to install it:</p>
  
  <p><a href="http://json.org/java/" rel="noreferrer">http://json.org/java/</a></p>