tauri_utils::config::parse

Function parse_json_value

Source
pub fn parse_json_value(raw: &str, path: &Path) -> Result<Value, ConfigError>
Expand description

“Low-level” helper to parse JSON into a JSON Value.

raw should be the contents of the file that is represented by path.