Skip to main content

Module disassemble

Module disassemble 

Source
Expand description

Disassemble a JSON, JSON5, YAML, TOON, TOML, or INI document into a directory of smaller files, optionally written in a different format than the input.

The input may be either a single file or a directory. When it points at a directory, every file under the directory whose extension matches the input format (or, when input_format is None, any supported value-model format) is disassembled in place. An optional ignore_path can point at a .gitignore-style ignore file used to skip paths.

Structs§

DisassembleOptions
Options controlling disassembly.

Functions§

disassemble
Disassemble a configuration file (or directory of files) into split files.