json_encode_timedelta#
- json_encode_timedelta(val)[source]#
Encode timestamp objects as number of seconds passed
- Parameters:
val (datetime.timedelta | None) –
- Return type:
float | None
Encode timestamp objects as number of seconds passed
val (datetime.timedelta | None) –
float | None