pub fn extract_optional<T: DeserializeOwned>( args: &Value, name: &str, ) -> Result<Option<T>, String>
Deserialize an optional argument.