title: Can/should boolean values be passed in json with quotes?
body: <p>I've read through a few questions on this and I'm still unclear. Which is correct:</p>
  
  <pre><code>{"some_parameter": "true"}
  </code></pre>
  
  <p>or</p>
  
  <pre><code>{"some_parameter": true}
  </code></pre>
  
  <p>I assume the second is the correct, <em>proper</em> way to send boolean values via json? But the first is still valid json...</p>
  
  <p>The context here is that I'm building an API (used by some 3rd party applications) and I'm wondering if it's reasonable to simply disallow the first type altogether (reject with error) or accept boolean data as strings like this, and just attempt to handle (convert) them?</p>