1 2 3 4 5 6 7 8
//! JSON parsing for guidance files that store rules as JSON. use anyhow::Result; /// Parse a JSON string into a generic `serde_json::Value`. pub fn parse(input: &str) -> Result<serde_json::Value> { Ok(serde_json::from_str(input)?) }