i have done following things
def handle_json(obj):
     # i want to make sure control goes here
     print(obj)
     return obj
def test_json():
     data= {datetime.date(2018, 12, 1): 160000.0,
             datetime.date(2019, 2, 1): 240000.0,
             datetime.date(2020, 9, 1): 1360000.0,
             datetime.date(2019, 3, 1): 280000.0}
     print(json.dumps(data, default=handle_json))
When i run test_json(), why i am not getting print() from handle_json() on console?
 
    