Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.apache_kafka.DateTimeJSONEncoder Class Reference
Inheritance diagram for homeassistant.components.apache_kafka.DateTimeJSONEncoder:
[legend]
Collaboration diagram for homeassistant.components.apache_kafka.DateTimeJSONEncoder:
[legend]

Public Member Functions

str default (self, Any o)
 

Detailed Description

Encode python objects.

Additionally add encoding for datetime objects as isoformat.

Definition at line 74 of file __init__.py.

Member Function Documentation

◆ default()

str homeassistant.components.apache_kafka.DateTimeJSONEncoder.default (   self,
Any  o 
)
Implement encoding logic.

Definition at line 80 of file __init__.py.


The documentation for this class was generated from the following file: