title: JSON.parse - How to handle capitalized Boolean values?
body: <p>I am working on a Node.js application that needs to handle JSON strings and work with the objects.</p>
  
  <p>Mostly all is well and <code>JSON.parse(myString)</code> is all I need.</p>
  
  <p>The application also gets data from third parties. One of which seems to be developed with Python. 
  My application repeatable chokes on boolean values since they come captialized.</p>
  
  <p>Example:</p>
  
  <pre><code>var jsonStr = "{'external_id': 123, 'description': 'Run #2944', 'test_ok': False}";
  
  try{
     var jsonObj = JSON.parse(jsonStr);
  }catch(err){
     console.err('Whoops! Could not parse, error: ' + err.message);
  }
  </code></pre>
  
  <p>Notice the <code>test_ok</code> parameter - it all is good when it follows the Javascript way of having a lower case <code>false</code> boolean instead. But the capitalized boolean does not work out.</p>
  
  <p>Of course I could try and replace capitalized boolean values via a string replace, but I am afraid to alter things that should not get altered.</p>
  
  <p>Is there an alternative to <code>JSON.parse</code> that is a little more forgiving?</p>