title: How to fix this error: "SQLContext object has no no attribute 'jsonFile'
body: <p>I am learning Spark now. When I tried to load a json file, as follows:</p>
  
  <pre><code>people=sqlContext.jsonFile("C:\wdchentxt\CustomerData.json")
  </code></pre>
  
  <p>I got the following error:</p>
  
  <pre><code>AttributeError: 'SQLContext' object has no attribute 'jsonFile'
  </code></pre>
  
  <p>I am running this on Windows 7 PC, with spark-2.1.0-bin-hadoop2.7, and Python 2.7.13 (Dec 17, 2016).</p>
  
  <p>Thank you for any suggestions that you may have.</p>