- matlot.json
{
"上海": 15260,
"杭州": 12586,
"北京": 13305,
"天津": 9000,
"深圳": 16060,
"广州": 14010,
"西安": 8000,
"重庆": 7800,
"成都": 8500
}
import json
def json_to_dict(filename):
json_file = open(filename
{
"上海": 15260,
"杭州": 12586,
"北京": 13305,
"天津": 9000,
"深圳": 16060,
"广州": 14010,
"西安": 8000,
"重庆": 7800,
"成都": 8500
}
import json
def json_to_dict(filename):
json_file = open(filename