全国各省市行政区划代码
如题, 格式如下:
1. 文件为对象数组。
2. 每个对象有一下三个属性:
city_code: 区域代码;
city_name: 区域名称;
children: 区域下一级(对象数组,每个对象有两个属性: city_code, city_name)
Ps:1. 台湾各区不详,便为空,欢迎广大网友提供信息修改。
2.个人整理,难免有遗漏或者错误,欢迎大家指正。
var json = [
{
"city_name": "北京",
"city_code": "110000",
"children": [
{ "city_name": "东城区", "city_code": "110101" },
{ "city_name": "西城区", "city_code": "110102" },
{ "city_name": "朝阳区", "city_code": "110105" },
{ "city_name": "丰台区", "city_code": "110106" },
{ "city_name": "石景山区", "city_code": "110107" },
{ "city_name": "海淀区", "city_code": "110108" },
{ "city_name": "门头沟区", "city_code": "110109" },
{ "city_name": "房山区", "city_code": "110111" },
{ "city_name": "通州区", "city_code": "110112" },
{ "city_name": "顺义区", "city_code": "110113" },
{ "city_name": "昌平区", "city_code": "110114" },
{ "city_name": "大兴区", "city_code": "110115" },
{ "city_name": "怀柔区", "city_code": "110116" },
{ "city_name": "平谷区", "city_code": "110117" },
{ "city_name": "密云县", "city_code": "110228" },
{ "city_name": "延庆县", "city_code": "110229" }
]
},
{
"city_name": "天津",
"city_code": "120000",
"children": [
{ "city_name": "和平区", "city_code": "120101" },
{ "city_name": "河东区", "city_code": "120102" },
{ "city_name": "河西区", "city_code": "120103" },
{ "city_name": "南开区", "city_code": "120104" },
{ "city_name": "河北区", "city_code": "120105" },
{ "city_name": "红桥区", "city_code": "120106" },
{ "city_name": "东丽区", "city_code": "120110" },
{ "city_name": "西青区", "city_code": "120111" },
{ "city_name": "津南区", "city_code": "120112" },
{ "city_name": "北辰区", "city_code": "120113" },
{ "city_name": "武清区", "city_code": "120114" },
{ "city_name": "宝坻区", "city_code": "120115" },
{ "city_name": "滨海新区", "city_code": "120116" },
{ "city_name": "宁河区", "city_code": "120221" },
{ "city_name": "静海区", "city_code": "120223" },
{ "city_name": "蓟县", "city_code": "120225" }
]
},
{
"city_name": "河北",
"city_code": "130000",
"children": [
{ "city_name": "石家庄", "city_code": "130100" },
{ "city_name": "长安区", "city_code": "130102" },
{ "city_name": "桥东区", "city_code": "130103" },
{ "city_name": "桥西区", "city_code": "130104" },
{ "city_name": "新华区", "city_code": "130105" },
{ "city_name": "井陉矿区", "city_code": "130107" },
{ "city_name": "裕华区", "city_code": "130108" },
{ "city_name": "藁城区", "city_code": "130109" },
{ "city_name": "鹿泉区", "city_code": "130110" },
{ "city_name": "栾城区", "city_code": "130111" },
{ "city_name": "井陉县", "city_code": "130121" },
{ "city_name": "正定县", "city_code": "130123" },
{ "city_name": "行唐县", "city_code": "130125" },
{ "city_name": "灵寿县", "city_code": "130126" },
{ "city_name": "高邑县", "city_code": "130127" },
{ "city_name": "深泽县", "city_code": "130128" },
{ "city_name": "赞皇县", "city_code": "130129" },
{ "city_name": "无极县", "city_code": "130130" },
{ "city_name": "平山县", "city_code": "130131" },
{ "city_name": "元氏县", "city_code": "130132" },
{ "city_name": "赵县", "city_code": "130133" },
{ "city_name": "辛集市", "city_code": "130181" },
{ "city_name": "晋州市", "city_code": "130183" },
{ "city_name": "新乐市", "city_code": "130184" },
{ "city_name": "唐山市", "city_code": "130200" },
{ "city_name": "路南区", "city_code": "130202" },
{ "city_name": "路北区", "city_code": "130203" },
{ "city_name": "古冶区", "city_code": "130204" },
{ "city_name": "开平区", "city_code": "130205" },
{ "city_name": "丰南区", "city_code": "130207" },
{ "city_name": "丰润区", "city_code": "130208" },
{ "city_name": "滦县", "city_code": "130223" },
{ "city_name": "滦南县", "city_code": "130224" },
{ "city_name": "乐亭县", "city_code": "130225" },
{ "city_name": "迁西县", "city_code": "130227" },
{ "city_name": "玉田县", "city_code": "130229" },
{ "city_name": "曹妃甸区", "city_code": "130230" },
{ "city_name": "遵化市", "city_code": "130281" },
{ "city_name": "迁安市", "city_code": "130283" },
{ "city_name": "秦皇岛", "city_code": "130300" },
{ "city_name": "海港区", "city_code": "130302" },
{ "city_name": "山海关区", "city_code": "130303" },
{ "city_name": "北戴河区", "city_code": "130304" },
{ "city_name": "青龙县", "city_code": "130321" },
{ "city_name": "昌黎县", "city_code": "130322" },
{ "city_name": "抚宁县", "city_code": "130323" },
{ "city_name": "卢龙县", "city_code": "130324" },
{ "city_name": "邯郸", "city_code": "130400" },
{ "city_name": "邯山区", "city_code": "130402" },
{ "city_name": "丛台区", "city_code": "130403" },
{ "city_name": "复兴区", "city_code": "130404" },
{ "city_name": "峰峰矿区", "city_code": "130406" },
{ "city_name": "邯郸县", "city_code": "130421" },
{ "city_name": "临漳县", "city_code": "130423" },
{ "city_name": "成安县", "city_code": "130424" },
{ "city_name": "大名县", "city_code": "130425" },
{ "city_name": "涉县", "city_code": "130426" },
{ "city_name": "磁县", "city_code": "130427" },
{ "city_name": "肥乡县", "city_code": "130428" },
{ "city_name": "永年县", "city_code": "130429" },
{ "city_name": "邱县", "city_code": "130430" },
{ "city_name": "鸡泽县", "city_code": "130431" },
{ "city_name": "广平县", "city_code": "130432" },
{ "city_name": "馆陶县", "city_code": "130433" },
{ "city_name": "魏县", "city_code": "130434" },
{ "city_name": "曲周县", "city_code": "130435" },
{ "city_name": "武安市", "city_code": "130481" },
{ "city_name": "邢台", "city_code": "130500" },
{ "city_name": "桥东区", "city_code": "130502" },
{ "city_name": "桥西区", "city_code": "130503" },
{ "city_name": "邢台县", "city_code": "130521" },
{ "city_name": "临城县", "city_code": "130522" },
{ "city_name": "内丘县", "city_code": "130523" },
{ "city_name": "柏乡县", "city_code": "130524" },
{ "city_name": "隆尧县", "city_code": "130525" },
{ "city_name": "任县", "city_code": "130526" },
{ "city_name": "南和县", "city_code": "130527" },
{ "city_name": "宁晋县", "city_code": "130528" },
{ "city_name": "巨鹿县", "city_code": "130529" },
{ "city_name": "新河县", "city_code": "130530" },
{ "city_name": "广宗县", "city_code": "130531" },
{ "city_name": "平乡县", "city_code": "130532" },
{ "city_name": "威县", "city_code": "130533" },
{ "city_name": "清河县", "city_code": "130534" },
{ "city_name": "临西县", "city_code": "130535" },
{ "city_name": "南宫市", "city_code": "130581" },
{ "city_name": "沙河市", "city_code": "130582" },
{ "city_name": "保定", "city_code": "130600" },
{ "city_name": "竞秀区", "city_code": "130602" },
{ "city_name": "莲池区", "city_code": "130603" },
{ "city_name": "南市区", "city_code": "130604" },
{ "city_name": "满城区", "city_code": "130621" },
{ "city_name": "清苑区", "city_code": "130622" },
{ "city_name": "涞水县", "city_code": "130623" },
{ "city_name": "阜平县", "city_code": "130624" },
{ "city_name": "徐水区", "city_code": "130625" },
{ "city_name": "定兴县", "city_code": "130626" },
{ "city_name": "唐县", "city_code": "130627" },
{ "city_name": "高阳县", "city_code": "130628" },
{ "city_name": "容城县", "city_code": "130629" },
{ "city_name": "涞源县", "city_code": "130630" },
{ "city_name": "望都县", "city_code": "130631" },
{ "city_name": "安新县", "city_code": "130632" },
{ "city_name": "易县", "city_code": "130633" },
{ "city_name": "曲阳县", "city_code": "130634" },
{ "city_name": "蠡县", "city_code": "130635" },
{ "city_name": "顺平县", "city_code": "130636" },
{ "city_name": "博野县", "city_code": "130637" },
{ "city_name": "雄县", "city_code": "130638" },
{ "city_name": "涿州市", "city_code": "130681" },
{ "city_name": "定州市", "city_code": "130682" },
{ "city_name": "安国市", "city_code": "130683" },
{ "city_name": "高碑店市", "city_code": "130684" },
{ "city_name": "张家口", "city_code": "130700" },
{ "city_name": "桥东区", "city_code": "130702" },
{ "city_name": "桥西区", "city_code": "130703" },
{ "city_name": "宣化区", "city_code": "130705" },
{ "city_name": "下花园区", "city_code": "130706" },
{ "city_name": "宣化县", "city_code": "130721" },
{ "city_name": "张北县", "city_code": "130722" },
{ "city_name": "康保县", "city_code": "130723" },
{ "city_name": "沽源县", "city_code": "130724" },
{ "city_name": "尚义县", "city_code": "130725" },
{ "city_name": "蔚县", "city_code": "130726" },
{ "city_name": "阳原县", "city_code": "130727" },
{ "city_name": "怀安县", "city_code": "130728" },
{ "city_name": "万全县", "city_code": "130729" },
{ "city_name": "怀来县", "city_code": "130730" },
{ "city_name": "涿鹿县", "city_code": "130731" },
{ "city_name": "赤城县", "city_code": "130732" },
{ "city_name": "崇礼县", "city_code": "130733" },
{ "city_name": "承德", "city_code": "130800" },
{ "city_name": "双桥区", "city_code": "130802" },
{ "city_name": "双滦区", "city_code": "130803" },
{ "city_name": "鹰手营子矿区", "city_code": "130804" },
{ "city_name": "承德县", "city_code": "130821" },
{ "city_name": "兴隆县", "city_code": "130822" },
{ "city_name": "平泉县", "city_code": "130823" },
{ "city_name": "滦平县", "city_code": "130824" },
{ "city_name": "隆化县", "city_code": "130825" },
{ "city_name": "丰宁满族自治县", "city_code": "130826" },
{ "city_name": "宽城县", "city_code": "130827" },
{ "city_name": "围场县", "city_code": "130828" },
{ "city_name": "沧州", "city_code": "130900" },
{ "city_name": "新华区", "city_code": "130902" },
{ "city_name": "运河区", "city_code": "130903" },
{ "city_name": "沧县", "city_code": "130921" },
{ "city_name": "青县", "city_code": "130922" },
{ "city_name": "东光县", "city_code": "130923" },
{ "city_name": "海兴县", "city_code": "130924" },
{ "city_name": "盐山县", "city_code": "130925" },
{ "city_name": "肃宁县", "city_code": "130926" },
{ "city_name": "南皮县", "city_code": "130927" },
{ "city_name": "吴桥县", "city_code": "130928" },
{ "city_name": "献县", "city_code": "130929" },
{ "city_name": "孟村回族自治县", "city_code": "130930" },
{ "city_name": "泊头市", "city_code": "130981" },
{ "city_name": "任丘市", "city_code": "130982" },
{ "city_name": "黄骅市", "city_code": "130983" },
{ "city_name": "河间市", "city_code": "130984" },
{ "city_name": "廊坊", "city_code": "131000" },
{ "city_name": "安次区", "city_code": "131002" },
{ "city_name": "广阳区", "city_code": "131003" },
{ "city_name": "固安县", "city_code": "131022" },
{ "city_name": "永清县", "city_code": "131023" },
{ "city_name": "香河县", "city_code": "131024" },
{ "city_name": "大城县", "city_code": "131025" },
{ "city_name": "文安县", "city_code": "131026" },
{ "city_name": "大厂回族自治县", "city_code": "131028" },
{ "city_name": "霸州市", "city_code": "131081" },
{ "city_name": "三河市", "city_code": "131082" },
{ "city_name": "衡水", "city_code": "131100" },
{ "city_name": "桃城区", "city_code": "131102" },
{ "city_name": "枣强县", "city_code": "131121" },
{ "city_name": "武邑县", "city_code": "131122" },
{ "city_name": "武强县", "city_code": "131123" },
{ "city_name": "饶阳县", "city_code": "131124" },
{ "city_name": "安平县", "city_code": "131125" },
{ "city_name": "故城县", "city_code": "131126" },
{ "city_name": "景县", "city_code": "131127" },
{ "city_name": "阜城县", "city_code": "131128" },
{ "city_name": "冀州市", "city_code": "131181" },
{ "city_name": "深州市", "city_code": "131182" }
]
},
{
"city_name": "山西",
"city_code": "140000",
"children": [
{ "city_name": "太原", "city_code": "140100" },
{ "city_name": "小店区", "city_code": "140105" },
{ "city_name": "迎泽区", "city_code": "140106" },
{ "city_name": "杏花岭区", "city_code": "140107" },
{ "city_name": "尖草坪区", "city_code": "140108" },
{ "city_name": "万柏林区", "city_code": "140109" },
{ "city_name": "晋源区", "city_code": "140110" },
{ "city_name": "清徐县", "city_code": "140121" },
{ "city_name": "阳曲县", "city_code": "140122" },
{ "city_name": "娄烦县", "city_code": "140123" },
{ "city_name": "古交市", "city_code": "140181" },
{ "city_name": "大同", "city_code": "140200" },
{ "city_name": "城区", "city_code": "140202" },
{ "city_name": "矿区", "city_code": "140203" },
{ "city_name": "南郊区", "city_code": "140211" },
{ "city_name": "新荣区", "city_code": "140212" },
{ "city_name": "阳高县", "city_code": "140221"