Josn to Array

Source: Internet
Author: User
var commodityratelist={nerrno:0, Ncurpage:1, Ntotalpage:1, Ntotalrecord:5, Commodityid: " 10366fb100000000040100003a04bed8 ", Ncontentevalnum:2,ncommodityd:1010,ncommoditydnum:206,ncommoditygoodnum:4, ncommoditynormalnum:0,ncommoditybadnum:0, evallist:[{sdealid: "2976855568-20140901-1304756091", BuyerId: " 1747681081 ", Buyername:" 1747681081 ", Peerevallevel:" 3 ", Peerevalcontent:" The seller is all right, the same as the description of the same is the courier service Super poor seriously despise hope for Change Express ", Peerscore: "1", Peertime: "2014-09-03 17:55:19", Peerevalreason: "", Buyercredit: "6", Commodityproperty: "Color: blue-Red Stripe | size: S"  , smallimgurl:[null], bigimgurl:[NULL], replylist:[NULL]}, {sdealid: "2976855568-20140825-1303451390", Buyerid: "0", Buyername: "Wei *", Peerevallevel: "3", Peerevalcontent: "And the description is exactly the same, like, Fabric also line", Peerscore: "1", Peertime: "2014-09-01 17:12:27 ", Peerevalreason:" ", Buyercredit:" 6 ", Commodityproperty:" Color: blue-Red Stripe | Size: L ", smallimgurl:[null], bigimgurl:[NULL], replylist:[NULL]}, {sdealid: "2976855568-20140729-1297280021", Buyerid: "0", Buyername: "Clear *", Peerevallevel: "3", Peerevalcontent: "Praise! ", Peerscore:" 1 ", Peertime:" 2014-08-24 15:41:06 ", Peerevalreason:", Buyercredit: "726", Commodityproperty: "Color: blue-Red Stripe | Size: XXXL ", smallimgurl:[null], bigimgurl:[NULL], replylist:[NULL]}, {sdealid:" 2976855568-20140725-1296264237 ", buy Erid: "0", Buyername: "Qing *", Peerevallevel: "3", Peerevalcontent: "Praise!" ", Peerscore:" 1 ", Peertime:" 2014-08-19 16:45:16 ", Peerevalreason:", Buyercredit: "726", Commodityproperty: "Color: blue-Red Stripe | Size: XXXL ", smallimgurl:[null], bigimgurl:[NULL], replylist:[NULL]}, {sdealid:" 2976855568-20140711-1292446238 ", buy Erid: "1143355415", Buyername: "Childlike love and Nature", Peerevallevel: "3", Peerevalcontent: "Praise!" ", Peerscore:" 1 ", Peertime:" 2014-08-07 12:23:32 ", Peerevalreason:", Buyercredit: "1", Commodityproperty: "Color: blue-Red Stripe | size: XL ", smallimgurl:[null], bigimgurl:[NULL], replylist:[NULL]}, NULL]};try{commodityratelistcallback (commodityrate list,0);} catch (e) {};

This can be converted to an array by Json_decode, the data address is: http://shop1.paipai.com/cgi-bin/creditinfo/NewCmdyEval?sCmdyId= 10366fb100000000040100003a04bed8&ncurpage=1&ntotal=0&resettime=1&nfiltertype=1&nsorttype= 11&nactionid=0.4005179960111874&g_tk=1891059028&g_ty=ls


Reply to discussion (solution)

Can be yes, but the amount of formatting is too much
Do it slowly.

See API?? Is JS provided by

Use JS to get JSON, without decode. It's back to Commodityratelistcallback?? Method,
Try{commodityratelistcallback (commodityratelist,0);} catch (e) {};
So??? Method can be taken, complete generation?

    
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.