pub fn try_parse_json<T: for<'de> Deserialize<'de>>(input: &str) -> Option<T>Expand description
Parse JSON into a typed value, returning None on failure.
Intended for non-critical, best-effort parsing where a missing or malformed
value should be silently ignored. Use parse_json_with_context when the
caller needs an actionable error.