(origin_list)
return {item["name"]: item.get("value") for item in origin_list}
convert HAR data list to mapping

    Args:
        origin_list (list)
            [
                {"name": "v", "value": "1"},
                {"name": "w", "value": "2"}
            ]

    Returns:
        dict:
            {"v": "1", "w": "2"}
convert HAR data list to mapping
convert HAR data list to mapping
def convert_list_to_dict(origin_list):
    """ convert HAR data list to mapping

    Args:
        origin_list (list)
            [
                {"name": "v", "value": "1"},
                {"name": "w", "value": "2"}
            ]

    Returns:
        dict:
            {"v": "1", "w": "2"}

    """
    return {item["name"]: item.get("value") for item in origin_list}
def convert_list_to_dict ( origin_list ) : return { item [ "name" ] : item . get ( "value" ) for item in origin_list }