title: How to convert Python datetime in JSON format?
body: <p>How do I convert Python DateTime in JSON format?</p>
  <p>input</p>
  <pre><code>from datetime import datetime
  my_date = datetime.now()
  </code></pre>
  <p>output</p>
  <pre><code>{
     &quot;start_date&quot;: '2020-05-06T09:27:51.386383'
  }
  </code></pre>