DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Object of type datetime is not JSON serializable
#Convert the date to a string sample['somedate'] = str( datetime.utcnow() )
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Object
#type
#datetime
#JSON
#serializable
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit