title: Flask TypeError: Object of type Decimal is not JSON serializable
body: <p>We are using flask for our application service. Internally we are using Jsonify to return the response and our response contains decimal data.</p>
  <p>Couple of things to mention here.</p>
  <ol>
  <li><p>We are using Windows machine</p>
  </li>
  <li><p>Some of my colleagues they are not getting any issue with the data with same configuration.
  One thing we observed is flask by default uses simplejson if installed. If not, then it will
  fall back to json package.</p>
  </li>
  </ol>
  <p>Sample data : jsonify({'response':Decimal('12345.00000')})</p>
  <p>Our question is why for some people flask by default using simplejson and for others it's not able to identify simplejson(even though installed) and using only json throwing decimal json error.</p>
  <p>Any idea what might be the root cause and what change needs to be done, let flask know to use simplejson over json ?</p>
  <p>For time being we did below manual change in flask package.</p>
  <p><a href="https://i.stack.imgur.com/ko2Ep.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ko2Ep.png" alt="Manual Change to let flask take simplejson " /></a></p>