Number of registered serializers.
Registered typeNames in registration order.
Rebuilds one component from its document, or returns undefined when no
serializer is registered for its type. Attaching is the caller's job.
Whether a serializer is registered under typeName.
Registers serializer for the component class type, keyed by its
typeName (§6a, §79). Returns this so registrations chain.
The document entries for the components attached to node, in
registration order (§6a, §79).
Every attached component is accounted for: the walk is over node.components
(2026-08-06, A-15), so a component whose type this registry does not know
is seen rather than silently missed, and unknownComponents decides what
happens to it. Emission then runs over the registry, which is what keeps the
output order independent of the order the components were attached in.
the node whose components to write
OptionalunknownComponents: UnknownComponentPolicy
"throw" (the default) refuses an unserializable
component; "skip" drops it
The per-type component serializers a document is read and written with (§79, §81).
Keyed by the component class's
typeName; iteration — and therefore the order components appear in a document — is registration order.