diff options
Diffstat (limited to 'src/file/format/json.rs')
-rw-r--r-- | src/file/format/json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file/format/json.rs b/src/file/format/json.rs index 87240a3..0d15070 100644 --- a/src/file/format/json.rs +++ b/src/file/format/json.rs @@ -7,7 +7,7 @@ use value::{Value, ValueKind}; pub fn parse( uri: Option<&String>, text: &str, -) -> Result<HashMap<String, Value>, Box<Error + Send + Sync>> { +) -> Result<HashMap<String, Value>, Box<dyn Error + Send + Sync>> { // Parse a JSON object value from the text // TODO: Have a proper error fire if the root of a file is ever not a Table let value = from_json_value(uri, &serde_json::from_str(text)?); |