json
json copied to clipboard
Value could implement `From<&String>`
... in the same way it implements From<&str>.
This would be useful when writing generic code on T: Into<serde_json::Value>.
Maybe impl<T: AsRef<str>> for Value ? This way it can accept anything that can be referenced as string slice (including, String and str).