How to parse in javascript .

Posted 1 year ago by coderathore

Get the value of primary_currency,secondary_currency,total,highbid. {"1":{"pairing_id":1,"primary_currency":"THB","secondary_currency":"BTC","change":-18,"last_price":369000,"volume_24hours":916.36053804,"orderbook":{"bids":{"total":940,"volume":431.65143739,"highbid":366988.001},"asks":{"total":5176,"volume":533.41650565,"highbid":369000.01}}},"21":{"pairing_id":21,"primary_currency":"THB","secondary_currency":"ETH","change":-25.14,"last_price":31666.666,"volume_24hours":6612.77151535,"orderbook":{"bids":{"total":628,"volume":1414.83835682,"highbid":31586},"asks":{"total":2544,"volume":2441.58083607,"highbid":32100}}},"22":{"pairing_id":22,"primary_currency":"THB","secondary_currency":"DAS","change":-24.76,"last_price":24301,"volume_24hours":223.96090525,"orderbook":{"bids":{"total":97,"volume":228.66743795,"highbid":24310},"asks":{"total":1353,"volume":574.20522797,"highbid":25940}}},"23":{"pairing_id":23,"primary_currency":"THB","secondary_currency":"REP","change":-31.38,"last_price":1990,"volume_24hours":1988.63066146,"orderbook":{"bids":{"total":78,"volume":1230.927603,"highbid":1950.13},"asks":{"total":739,"volume":2469.04726673,"highbid":2000}}},"20":{"pairing_id":20,"primary_currency":"BTC","secondary_currency":"ETH","change":-7.93,"last_price":0.087,"volume_24hours":308.22805903,"orderbook":{"bids":{"total":311,"volume":370.18176796,"highbid":0.08679999},"asks":{"total":205,"volume":239.3633829,"highbid":0.08988997}}},"27":{"pairing_id":27,"primary_currency":"THB","secondary_currency":"BCH","change":-22.9,"last_price":58500,"volume_24hours":780.80106505,"orderbook":{"bids":{"total":249,"volume":258.70322343,"highbid":57100.01},"asks":{"total":3041,"volume":1112.30851518,"highbid":59499}}},"4":{"pairing_id":4,"primary_currency":"BTC","secondary_currency":"DOG","change":-10.29,"last_price":6.1e-7,"volume_24hours":26049530.591916,"orderbook":{"bids":{"total":261,"volume":9756285.9909835,"highbid":6.0e-7},"asks":{"total":1634,"volume":49554898.287579,"highbid":6.1e-7}}},"28":{"pairing_id":28,"primary_currency":"THB","secondary_currency":"EVX","change":-25.89,"last_price":104.5,"volume_24hours":401289.8431,"orderbook":{"bids":{"total":456,"volume":132364.5353,"highbid":102.3},"asks":{"total":4404,"volume":633014.1968,"highbid":102.74}}},"6":{"pairing_id":6,"primary_currency":"BTC","secondary_currency":"FTC","change":-4.84,"last_price":2.752e-5,"volume_24hours":11406.97063139,"orderbook":{"bids":{"total":60,"volume":842640.46091209,"highbid":2.75e-5},"asks":{"total":168,"volume":53638.83191565,"highbid":3.194e-5}}},"24":{"pairing_id":24,"primary_currency":"THB","secondary_currency":"GNO","change":-29.42,"last_price":6705,"volume_24hours":552.84120005,"orderbook":{"bids":{"total":84,"volume":1368.7275243,"highbid":6705},"asks":{"total":704,"volume":760.02793118,"highbid":6750}}},"13":{"pairing_id":13,"primary_currency":"BTC","secondary_currency":"HYP","change":-8.33,"last_price":8.8e-7,"volume_24hours":980440.6326861,"orderbook":{"bids":{"total":75,"volume":3489891.5050333,"highbid":8.8e-7},"asks":{"total":332,"volume":3213015.9916218,"highbid":8.9e-7}}},"30":{"pairing_id":30,"primary_currency":"THB","secondary_currency":"LTC","change":-22.06,"last_price":6000,"volume_24hours":4930.4189375,"orderbook":{"bids":{"total":125,"volume":1130.54190137,"highbid":6000},"asks":{"total":2211,"volume":4246.60350202,"highbid":6067.01023335}}},"2":{"pairing_id":2,"primary_currency":"BTC","secondary_currency":"LTC","change":-2.38,"last_price":0.01679,"volume_24hours":513.83742903,"orderbook":{"bids":{"total":54,"volume":1130.46223668,"highbid":0.0161},"asks":{"total":169,"volume":671.16942144,"highbid":0.01679}}},"3":{"pairing_id":3,"primary_currency":"BTC","secondary_currency":"NMC","change":-5.7,"last_price":0.00033101,"volume_24hours":1678.47277777,"orderbook":{"bids":{"total":71,"volume":23864.34272828,"highbid":0.000331},"asks":{"total":724,"volume":26216.71996149,"highbid":0.0003728}}},"26":{"pairing_id":26,"primary_currency":"THB","secondary_currency":"OMG","change":-28.77,"last_price":520,"volume_24hours":73999.18768392,"orderbook":{"bids":{"total":398,"volume":33278.3233684,"highbid":518},"asks":{"total":2931,"volume":95400.74934428,"highbid":521.99}}},"14":{"pairing_id":14,"primary_currency":"BTC","secondary_currency":"PND","change":-10,"last_price":9.0e-8,"volume_24hours":195177680.45454,"orderbook":{"bids":{"total":659,"volume":529757425.16171,"highbid":9.0e-8},"asks":{"total":1849,"volume":799504638.225,"highbid":1.0e-7}}},"5":{"pairing_id":5,"primary_currency":"BTC","secondary_currency":"PPC","change":-0.06,"last_price":0.00047974,"volume_24hours":380.99431491,"orderbook":{"bids":{"total":68,"volume":18975.95868379,"highbid":0.00043},"asks":{"total":124,"volume":1705.87765729,"highbid":0.00047988}}},"19":{"pairing_id":19,"primary_currency":"BTC","secondary_currency":"QRK","change":-16.47,"last_price":2.13e-6,"volume_24hours":291610.24195453,"orderbook":{"bids":{"total":68,"volume":1769308.7532648,"highbid":2.13e-6},"asks":{"total":317,"volume":970963.03030608,"highbid":2.25e-6}}},"15":{"pairing_id":15,"primary_currency":"BTC","secondary_currency":"XCN","change":-11.36,"last_price":7.8e-7,"volume_24hours":1111464.8633808,"orderbook":{"bids":{"total":114,"volume":3549947.4790631,"highbid":7.8e-7},"asks":{"total":904,"volume":10784155.510195,"highbid":8.0e-7}}},"7":{"pairing_id":7,"primary_currency":"BTC","secondary_currency":"XPM","change":-9.72,"last_price":6.5e-5,"volume_24hours":3186.54118082,"orderbook":{"bids":{"total":71,"volume":125623.29938314,"highbid":6.5e-5},"asks":{"total":204,"volume":21533.31557606,"highbid":6.998e-5}}},"17":{"pairing_id":17,"primary_currency":"BTC","secondary_currency":"XPY","change":34.1,"last_price":7.59e-6,"volume_24hours":28337.59638149,"orderbook":{"bids":{"total":91,"volume":1559661.9755044,"highbid":7.2e-6},"asks":{"total":121,"volume":97864.53179682,"highbid":7.65e-6}}},"25":{"pairing_id":25,"primary_currency":"THB","secondary_currency":"XRP","change":-29.55,"last_price":37.9,"volume_24hours":6090240.896613,"orderbook":{"bids":{"total":1341,"volume":1359808.353754,"highbid":37.61},"asks":{"total":12640,"volume":5038135.939678,"highbid":38.09}}},"29":{"pairing_id":29,"primary_currency":"THB","secondary_currency":"XZC","change":-13.16,"last_price":2389,"volume_24hours":5595.69334155,"orderbook":{"bids":{"total":249,"volume":2511.38282142,"highbid":2389},"asks":{"total":4084,"volume":24124.65959792,"highbid":2415}}},"8":{"pairing_id":8,"primary_currency":"BTC","secondary_currency":"ZEC","change":-3.41,"last_price":0.04250022,"volume_24hours":117.27104217,"orderbook":{"bids":{"total":84,"volume":249.90100704,"highbid":0.04392947},"asks":{"total":446,"volume":258.18577002,"highbid":0.04396}}}}

Please sign in or create an account to participate in this conversation.