title: JSON File Extension
body: <p>I've been saving all my json files with .txt extension and they worked with jquery ajax calls. </p>
  
  <p>When I change the extension to .json and in my jquery ajax call -- <strong>jQuery.ajax()</strong> -- I specify</p>
  
  <ul>
  <li>dataType: "json", </li>
  <li>contentType: "application/json; charset=utf-8",</li>
  </ul>
  
  <p>the files no longer work. Why so?</p>
  
  <p>Shouldn't all json files have an extension .json? I'm using IIS server.</p>
  
  <p><strong>JSON</strong> </p>
  
  <pre><code>{ "rows": [ 
    {"row":[ 
      {"cells": [ 
        {"data": "Edit"}, 
        {"data": "030194"} 
      ]} 
    ]}, 
    {"row":[ 
      {"cells": [ 
        {"data": "Add"}, 
        {"data": "030194"} 
      ]} 
    ]}  
  ]}
  </code></pre>
  
  <p><strong>jQuery</strong> </p>
  
  <pre><code>jQuery.ajax ({ 
    type: "GET", 
    url: "localhost/ABC.json", 
    dataType: "json", 
    contentType: "application/json; 
    charset=utf-8", 
    cache: "false", 
    success: function(response){}  
  });
  </code></pre>
  
  <p><strong>Can someone please tell me why extension .json is not working? It works if I change it to .txt</strong></p>