title: $.ajax parseerror on {"vErrorsFound":true,"vMessage":"Login Failed"}
body: <p>I am upgrading from jQuery 1.3.2 to jQuery 1.5 and I can't get JSON to parse.  With $.ajax I am calling a php script that returns the following via the PHP json_encode method:</p>
  
  <pre><code>{"vErrorsFound":true,"vMessage":"Login Failed"}
  </code></pre>
  
  <p>I have tried simplifying the object to:
  <code>{"vErrorsFound":true}</code> alone and <code>{"vMessage":"Login Failed"}</code> alone but I still get a parse Error from the ajax call.</p>
  
  <p>Here's the ajax call.</p>
  
  <pre><code>$.ajax({
         url : "index_vld.php",
         data: {Username: $("input[name=Username]").val(), Password: $("input[name=Password]").val()},
         dataType: 'json',
         success: function (data, textStatus, jqXHR)
         {
             alert(data);
         },
         error: function (jqXHR, textStatus, errorThrown)
         {
             alert(textStatus + ' ' + errorThrown);
         }
         });
  </code></pre>
  
  <p>I found out that JSON parsing is much stricter in the newer version of jquery however I cannot find out what's wrong in this simple json object returned from the PHP script.  I have also tried setting the content type of the php script to application/json without success.</p>
  
  <p>The exception thrown reads: jQuery15045727721066214144_1298305275108 was not called.  </p>
  
  <p>Can't upgrade to jQuery 1.5 before I solve this.</p>
  
  <p>Thanks for your help.</p>