title: How do I `jsonify` a list in Flask?
body: <p>Currently <code>Flask</code> would raise an error when jsonifying a list.</p>
  
  <p>I know there could be security reasons <a href="https://github.com/mitsuhiko/flask/issues/170">https://github.com/mitsuhiko/flask/issues/170</a>, but I still would like to have a way to return a JSON list like the following:</p>
  
  <pre><code>[
      {'a': 1, 'b': 2},
      {'a': 5, 'b': 10}
  ]
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>{ 'results': [
      {'a': 1, 'b': 2},
      {'a': 5, 'b': 10}
  ]}
  </code></pre>
  
  <p>on responding to a <code>application/json</code> request. How can I return a JSON list in Flask using Jsonify?</p>