Skip to main content

Module serializer

Module serializer 

Source
Expand description

IR → JSON serializer for the dev socket.

Mirrors morph/ir/serializer.py (IRSerializer): windows, keyframes, recursive nodes and full style dicts, using the exact key names the C++ dev runtime (runtime/cpp/dev/ir_deserializer.h) parses. Optional node fields are only emitted when set, matching Python’s to_dict.

Structs§

IRSerializer
Serializes IR trees to JSON for the dev socket.