使用javascript进行JSON数据收集

时间:2018-09-19 17:55:51

标签: javascript json

这是JSON数据

{"code":1,"msg":"Successful","details":{"merchant_id":"7","restaurant_name":"BTEST","country":"India","address":"XXXX","service":"2","contact_phone":"+91111111111","open":false,"merchant_close_store":false,"minimum_order":"","minimum_order_raw":"","logo":"https:\/\/www.yourdomain.in\/upload\/TEST.png","delivery_fee":"Rs. 20.00","delivery_fee_raw":"20","ratings":{"ratings":"4.5","votes":"2"},"offers_found":1,"free_delivery":1,"cuisine":"Restaurant","can_checkout":{"code":2,"msg":"Sorry merchant is closed.","button":"","holiday":2,"is_pre_order":2},"enabled_table_booking":1,"coordinates":{"latitude":"null","longtitude":"null"}},"request":"{\"item_id\":\"2632\",\"merchant_id\":\"7\",\"cat_id\":\"9\",\"lang_id\":\"null\",\"lang\":\"null\",\"api_key\":\"null\",\"app_version\":\"null\"}"}

我想使用JavaScript收集“ item_id”下的“请求”

0 个答案:

没有答案