Skip to main content

tree_json

Function tree_json 

Source
pub fn tree_json(nodes: &[TreeNode<'_>], roots: &[usize]) -> Result<String>
Expand description

Serializes the trees under roots without recursion, so a long linear session cannot exhaust the stack.