Study Notes (09): Python Interview 100 talking about (based Python3.x) - how to handle the type of date in the JSON serialization ...

Learning immediately: https://edu.csdn.net/course/play/26755/340158?utm_source=blogtoedu

Supports serialization: str, int, list, tuple, dict, None.

But datetime does not support serialization.

 

JSON serialization does not automatically processing value date type, it is necessary to manually date handling type value in the default method of converting class.

Published 17 original articles · won praise 0 · Views 180

Guess you like

Origin blog.csdn.net/weixin_43745945/article/details/104193010