You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mouse_events_have_key_events.rs
    path of file: ./repos/oxc/crates/oxc_linter/src/rules/jsx_a11y
    
    the code of the file until where you have to start completion: use oxc_ast::{
    ast::{JSXAttributeValue, JSXExpression, JSXExpressionContainer},
    AstKind,
};
use oxc_diagnostics::{
    miet
    
    fn from_configuration(value: serde_json::Value) -> Self {
        let mut config = MouseEventsHaveKeyEventsConfig::default();

        if let Some(hover_in_handlers_config) = value
            .get(0)
            .and_then(|v| v.get("hoverInHandlers"))
            .and_then(serde_json::Value::as_array)
        {
            config.hover_in_handlers = hover_in_handlers_config
                .iter()
                .filter_map(serde_json::Value::as_str)
                .map(ToString::to_string)
                .collect();
        }

        if let Some(hover_out_handlers_config) = value
            .get(0)
            .and_then(|v| v.get("hoverOutHandlers"))
            .and_then(serde_json::Value::as_array)
        {
            config.hover_out_handlers = hover_out_handlers_config
                .iter()
                .filter_map(serde_json::Value::as_str)
                .map(ToString::to_string)
                .collect();
        }

        Self(Box::new(config))
    }