unflatten_tree

unflatten_tree(serial_tree, unprep_tree=True, max_leaf_elements=None, block_pointers=None, prefix_filter=None, jump_table=None, record=None): 

Replay traversal markers and per-key shape/value pointers to rebuild the nested tree and restore list/None sentinels.

If jump_table and record are both given, resumes the walk directly at that record’s span instead of starting from the beginning – no need to replay everything before it.

  • serial_tree: Any

    flat-tree metadata and arrays. NOT mutated (key_map is read, not popped), so this can be called repeatedly against the same loaded data.

  • unprep_tree: Any

    whether numbered list dictionaries should be restored

  • jump_table: Any

    optional dict from build_jump_table

  • record: Any

    optional path string to jump to (requires jump_table)

  • :returns: _

    the reconstructed nested dict


Feedback

Examples

Templates

Documentation