title: Difference between org.json.simple and org.json
body: <pre><code>JSONArray js1 = new JSONArray();
  for (Product product : plist) {
      JSONObject jo1 = new JSONObject();
      jo1.put("image", product.getProductImages());
      jo1.put("name", product.getName());
      jo1.put("price", product.getPrice());
  
      js1.add(jo1);
  }
  </code></pre>
  
  <p>In the above code I can not use <code>js1.add(jo1);</code> because of I import these Libraries.</p>
  
  <pre><code>import org.json.JSONArray;
  import org.json.JSONObject; 
  </code></pre>
  
  <p>but if I import these  </p>
  
  <pre><code>import org.json.simple.JSONArray;
  import org.json.simple.JSONObject;
  </code></pre>
  
  <p>I can use <code>add</code> method.<br> 
  So what is the difference between these <code>org.json.simple</code>. and  <code>org.json</code>. </p>