Serializes this node to a DataNode.
The DataNode to serialize to.
Whether to recurse through children.
See Implementation
Serializes this node to a DataNode.