diffx_core/parser/
json.rs

1use anyhow::{anyhow, Result};
2use serde_json::Value;
3
4pub fn parse_json(content: &str) -> Result<Value> {
5    serde_json::from_str(content).map_err(|e| anyhow!("JSON parse error: {e}"))
6}