title: Read local JSON file with Python
body: <p>I want to read a JSON file with Python :</p>
  <p><strong>Here is part of my JSON file :</strong></p>
  <pre><code>{ &quot;Jointure&quot;:[ { &quot;IDJointure&quot;:1, &quot;societe&quot;:&quot;S.R.T.K&quot;, &quot;date&quot;:&quot;2019/01/01&quot;, &quot;heure&quot;:&quot;05:47:00&quot;}, { &quot;IDJointure&quot;:2, &quot;societe&quot;:&quot;S.R.T.K&quot;, &quot;date&quot;:&quot;2019/01/01&quot;, &quot;heure&quot;:&quot;05:50:00&quot;}]}
  </code></pre>
  <p><strong>This is the code :</strong></p>
  <pre><code>import json
  
  data  = json.loads('Data2019.json')
  for i in data['Jointure']:
     print(i)
   
  </code></pre>
  <p><strong>But, here is the error that was displayed</strong></p>
  <pre><code>Traceback (most recent call last):
    File &quot;C:\Users\HP\Desktop\readJSON.py&quot;, line 4, in &lt;module&gt;
      data  = json.loads('Data2019.json')
    File &quot;C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\json\__init__.py&quot;, line 357, in loads
      return _default_decoder.decode(s)
    File &quot;C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\json\decoder.py&quot;, line 337, in decode
      obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File &quot;C:\Users\HP\AppData\Local\Programs\Python\Python38\lib\json\decoder.py&quot;, line 355, in raw_decode
      raise JSONDecodeError(&quot;Expecting value&quot;, s, err.value) from None
  json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  &gt;&gt;&gt;
  </code></pre>