title: No JSON object could be decoded when opening stackexchange api as json
body: <p>I am accessing a particular url for a JSON file (fromt the stackexchange and stackoverflow api). While executing the <code>json.loads()</code> command it shows the following error:</p>
  
  <pre><code>import urllib2
  import json
  
  url = "http://api.stackexchange.com/2.1/tags?order=desc&amp;sort=popular&amp;site=quant&amp;pagesize=100&amp;page=1"    
  data = json.loads(urllib2.urlopen(url).read())
  
  &lt;ipython-input-20-7540e91a8ff2&gt; in &lt;module&gt;()
  ----&gt; 1 data = json.loads(urllib2.urlopen(url).read())
  
  /usr/lib/python2.7/json/__init__.pyc in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
      336             parse_int is None and parse_float is None and
      337             parse_constant is None and object_pairs_hook is None and not kw):
  --&gt; 338         return _default_decoder.decode(s)
      339     if cls is None:
      340         cls = JSONDecoder
  
  /usr/lib/python2.7/json/decoder.pyc in decode(self, s, _w)
      363 
      364         """
  --&gt; 365         obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      366         end = _w(s, end).end()
      367         if end != len(s):
  
  /usr/lib/python2.7/json/decoder.pyc in raw_decode(self, s, idx)
      381             obj, end = self.scan_once(s, idx)
      382         except StopIteration:
  --&gt; 383             raise ValueError("No JSON object could be decoded")
      384         return obj, end
  
  ValueError: No JSON object could be decoded
  </code></pre>
  
  <p>On the other hand everything works fine with the twitter api... Why?</p>