varjsons=[{"a":1,"b":2,"e":3,"d":4,"p":'河北',"c":'石家莊'},{"a":1,"b":2,"e":3,"d":4,"p":'河北',"c":'保定'},{"a":1,"b":2,"e":3,"d":4,"p":'河北',"c":'其他'},{"a":2,"b":3,"e":4,"d":5,"p":'廣東',"c":'廣州'},{"a":2,"b":3,"e":4,"d":5,"p":'廣東',"c":'深圳'},{"a":3,"b":4,"e":5,"d":6,"p":'澳門',"c":'澳門'}];varresult=[[{"a":1,"b":2,"e":3,"d":4,"p":'河北',"c":'石家莊'},{"a":1,"b":2,"e":3,"d":4,"p":'河北',"c":'保定'},{"a":1,"b":2,"e":3,"d":4,"p":'河北',"c":'其他'}],[{"a":2,"b":3,"e":4,"d":5,"p":'廣東',"c":'廣州'},{"a":2,"b":3,"e":4,"d":5,"p":'廣東',"c":'深圳'}],[{"a":3,"b":4,"e":5,"d":6,"p":'澳門',"c":'澳門'}]];
從內(nèi)容中的jsons如何能得到result ?
寶慕林4294392
2019-04-13 08:46:19