I\'m using Flask, SQLAlchemy and javascript. I need to pass the results of my query to javascript in the json format, through AJAX, but I keep getting this error:
Based on TypeError: is not JSON serializable' it seems in your clouds_d dictionary has a Cloud object nested inside. please like print clouds_d
TypeError: is not JSON serializable'
print clouds_d