json_encode_timedelta#

json_encode_timedelta(val)[source]#

Encode timestamp objects as number of seconds passed

Parameters

val (timedelta) –

Return type

float