Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Serialize Datetime

Shows how to serialize Python datetime objects to JSON by providing a custom default handler to json.dumps(). The handler converts datetime instances to ISO 8601 strings.

Usage

python serialize_datetime.py