Yson Tree Node
data class YsonTreeNode(val type: String, val value: String? = null, val attrs: Map<String, String>? = null, val children: List<YsonTreeNode>? = null)
YsonTreeNode represents a node in a Tree CRDT.
A text node carries value. An element node carries attrs and/or children.
Parameters
type
Node type (for example text, p, div).
value
Text content for text nodes.
attrs
Element attributes.
children
Child element list.