How To Return SQL Data In JSON Format Python?

How To Return SQL Data In JSON Format Python?