dachs.serialization.dumpKV¶
- dachs.serialization.dumpKV(obj: object, path: PurePosixPath = None, lvl: int = 0, dbg: bool = False)[source]¶
Serializes the given hierarchical DACHS structure as key-value pairs (a dict).
- Parameters:
objlst – A hierarchical instance for traversal.
path – Optional, a word to prepend to all generated keys, a top-level name. It is replaced by the ID attribute if available.
lvl – The current level of invocation, tracks the recursion depth for debugging.
dbg – Enable debug output.