title: Why JSON.parse is not working?
body: <p>I set the dataType to 'text' because I don't want to Jquery parse my JSON automatically.
  My code is the following:</p>
  
  <pre><code>var membId = '5';
  $('#submitNewDescription').live('click',function(){
      //An ajax request is made to update the DB
      $.ajax({
          url: '../../cgi-bin/qualification.py',
          type: 'POST',
          data: ({newDescription:$('#newDescription').val(),id:membId}),
          dataType: 'text',
          cache: 'false',
          success: function(data){
              json = JSON.parse(data);
              console.log(data);
              console.log(json);
          }
      });
  });
  </code></pre>
  
  <p>And it returns that string: {"error":["ORA-01031 insufficient privileges"]} in both console.log commands. It means that the parse isn't working since it doesn't return a JavaScript object. JSONLint says to me that is a valid JSON. </p>
  
  <p>Anyone has an idea of what is happening?</p>
  
  <h2>Thanks</h2>
  
  <p>EDIT</p>
  
  <p>I can set to 'json', it is not problem. The problem is that JSON.parse and $.parseJSON should work. Since they are not, I changed 'dataType' to 'json', but the same string is returned. I have no idea what is happening.</p>