pub fn deserialize_from_str<T: DeserializeOwned>(
json_str: &str,
) -> Result<T, Error>Expand description
Deserialize JSON string to any type.
Strict deserialization - returns error if deserialization fails. Used when we need explicit error handling for data integrity.
ยงErrors
Returns serde_json::Error if deserialization fails.