Skip to content

symfonic.core.streaming.serialization

serialization

JSON-safe serialization for StreamEvent objects.

Split out of :mod:symfonic.core.streaming.transpiler (316 lines against the 300-line budget). The transpiler produces events; this module turns one into the dict an SSE frame carries. They were only ever coupled by file position -- EventTranspiler never calls either function.