Skip to main content

parse_configure_file_comment

Function parse_configure_file_comment 

Source
pub fn parse_configure_file_comment(line: &str) -> Option<Value>
Expand description

Parse a configure-file comment and return the JSON configuration.

Uses the unified parser for directive detection/disambiguation, then extracts the raw JSON payload directly from the line (since JSON cannot be reliably reconstructed from whitespace-split tokens).