title: Python load json file with UTF-8 BOM header
body: <p>I needed to parse files generated by other tool, which unconditionally outputs json file with UTF-8 BOM header (EFBBBF). I soon found that this was the problem, as Python 2.7 module can't seem to parse it:</p>
  
  <pre><code>&gt;&gt;&gt; import json
  &gt;&gt;&gt; data = json.load(open('sample.json'))
  
  ValueError: No JSON object could be decoded
  </code></pre>
  
  <p>Removing BOM, solves it, but I wonder if there is another way of parsing json file with BOM header?</p>