Skip to main content

read_sidecar

Function read_sidecar 

Source
pub fn read_sidecar(html_path: &Path) -> Result<Option<HashMap<String, Value>>>
Expand description

Reads a .meta.json sidecar for a given HTML file path.

Looks for <stem>.meta.json alongside the HTML file. Returns None if the sidecar does not exist.