请问有模组可以把下面这段string转成dict格式吗?
(dict中的dict和list也要一并转换成dict和list) 谢谢
'{ "dpid": 1, "cookie": 1, "cookie_mask": 1, "table_id": 0,
"idle_timeout": 30, "hard_timeout": 30, "priority": 11111, "flags": 1,
"match":{ "in_port" : 1 },
"actions": [
{
"type":"OUTPUT",
"port": 2
}
]
}'