Skip to main content

Module structured_read

Module structured_read 

Source

Functionsยง

extract_json_structure
JSON structure: key-tree with types, depth 3, max 20 keys per level. Reuses logic from patterns::json_schema but produces a read-mode output.
extract_lock_summary
Lock file summary: package count + direct dependency names.
extract_markdown_outline
Markdown outline: heading tree + fenced code block boundaries.
extract_toml_structure
TOML structure: [section] headers + top-level key=value pairs.
extract_yaml_structure
YAML structure: indent-based key extraction with nested structure.