在Javascript中解析JSON对象时遇到困难

时间:2016-03-09 11:08:58

标签: javascript html json jsp parsing

我有一个带有子部件的JSON对象。我需要解析它并使用逻辑运算的值。我可以得到“成功”等的值但是子表中的值,我很难访问它们。

{
"successful": true,
"code": null,
"message": null,
"validationErrors": [],
"protocol": "PROTOCOL_JSON",
"orderSROList": [{
    "id": 117520218,
    "addressDetail": {
        "id": 115385630,
        "name": "Aakash",
        "addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
        "addressLine2": " Near Brajbihari Lane",
        "city": "Muzaffarpur",
        "state": "Bihar",
        "pincode": "842003",
        "mobile": "6571216894",
        "landline": null,
        "recipient_name": "Aakash",
        "recipient_mobile": "6571216894",
        "addressTag": null,
        "defaultAddress": false,
        "addressStatus": null,
        "addressId": null,
        "dndActive": false
    },
    "zoneId": 28,
    "code": "11762002180",
    "orderStatus": {
        "id": 2,
        "code": "CTD",
        "value": "Completed",
        "description": "Completed"
    },
    "customerName": "Aakash",
    "userId": 151708376,
    "email": "aa11h112190936@gmail.com",
    "mobile": "6571216894",
    "price": 117,
    "sellingPrice": 117,
    "paidAmount": 117,
    "sdCash": 0,
    "promoValue": 0,
    "refundAmount": 0,
    "shippingCharges": 0,
    "shippingMethodCharges": 0,
    "retry": false,
    "orderSummaryLink": "http://www.snapdeal.com//orderSummary?code=dc282e3690af61023f82f2828db0dabf&order=11762002180",
    "channelCode": "wap",
    "partnerTransactionCode": null,
    "affiliateId": null,
    "created": 1455468157000,
    "updated": 1455468158000,
    "latitude": null,
    "longitude": null,
    "orderTransactions": [],
    "suborders": [{
        "id": 148094186,
        "zoneId": 28,
        "suborderStatus": {
            "id": 3,
            "code": "DEL",
            "value": "Delivered",
            "description": "Delivered",
            "microDescription": null,
            "macroDescription": null,
            "cancellable": true
        },
        "orderId": 117520218,
        "orderCode": "11762002180",
        "catalogId": -238646479,
        "code": "14819491863",
        "catalogType": "product",
        "price": 117,
        "sellingPrice": 117,
        "paidAmount": 117,
        "sdCash": 0,
        "promoValue": 0,
        "refundAmount": 0,
        "shippingCharges": 0,
        "shippingMethodCharges": 0,
        "created": 1455468157000,
        "updated": 1456047593000,
        "deliveryDate": 1456047474000,
        "sdCashCredited": 0,
        "orderEmail": "aa11h112190936@gmail.com",
        "orderMobile": "6571216894",
        "orderAddressDetail": {
            "id": 115385630,
            "name": "Aakash",
            "addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
            "addressLine2": " Near Brajbihari Lane",
            "city": "Muzaffarpur",
            "state": "Bihar",
            "pincode": "842003",
            "mobile": "6571216894",
            "landline": null,
            "recipient_name": "Aakash",
            "recipient_mobile": "6571216894",
            "addressTag": null,
            "defaultAddress": false,
            "addressStatus": null,
            "addressId": null,
            "dndActive": false
        },
        "customerName": "Aakash",
        "zonePageUrl": "delhi",
        "orderViewSource": null,
        "suborderType": {
            "id": 1,
            "code": "REG",
            "value": "Regular"
        },
        "offerPrice": 117,
        "offerDiscount": 0,
        "verifiedDate": 1455468158000,
        "inventoryTxnCode": "AK6EKRR4LO",
        "shippingMethodCode": "COD",
        "vendorCode": "58f3d6",
        "supcCode": "SDL106176684",
        "internalCashbackValue": 0,
        "externalCashbackValue": 0,
        "emiCharges": 0,
        "catalogIdL": 652596382513,
        "promoCode": null,
        "expressDeliveryCharges": 0,
        "expressDeliveryType": "STANDARD",
        "promisedDeliveryDate": 1456245758000,
        "giftWrapCharges": 0,
        "giftWrap": false,
        "deliveryDateRange": {
            "start": 1455900158000,
            "end": 1456245758000
        },
        "shipDateRange": {
            "start": 1455468158000,
            "end": 1455640958000
        },
        "earnedSdPoints": 0,
        "storeFront": "SDL",
        "subStoreFront": null,
        "sku": null,
        "fulfillmentModel": null,
        "deliveryType": null,
        "storeCode": null,
        "suborderTransactionSROs": null,
        "suborderHistorySROs": null,
        "additionalSuborderDetailsSRO": null,
        "productFlowType": "PRODUCT",
        "paymentModeCharges": 0,
        "vendorServiceFinancialSRO": {
            "suborderCode": "14819491863",
            "vendorPrice": 106,
            "merchantCut": null,
            "vendorSponsoredExternalCashback": 0.0,
            "vendorSponsoredInternalCashback": 0.0,
            "vendorSponsoredEmiCharge": 0.0,
            "snapdealSponsoreEmiCharge": 0.0,
            "sdCommission": 7.94,
            "serviceTax": 1.35,
            "courierCost": 103,
            "fulfillmentFees": 0.0,
            "waiverAmount": 0.0,
            "sellingPrice": 117,
            "id": 137026068,
            "created": 1455468157000,
            "updated": 1455468158000,
            "cashbackAdjustment": null
        },
        "additionalOfferDetailsSROList": [],
        "deliverySource": "COURIER",
        "stateTax": 0,
        "shipFarCharges": 0,
        "suborderFreebieMapping": null,
        "parentSuborderId": null,
        "bundleCode": null,
        "bundleType": null,
        "childSuborders": null,
        "policyID": null,
        "experimentId": null,
        "vendorPrice": 0,
        "instantBankPromoValue": 0,
        "sellingPriceExcludingCashbacks": 117,
        "instantBankPromoCode": null,
        "instantBankPromoSourceName": null,
        "instantBankPromoSourceType": null,
        "instantBankPromoSdSponsoredValue": 0,
        "instantBankPromoSourceSponsoredValue": 0,
        "deliveryCharges": 0,
        "totalWalletCashbackValue": 0,
        "walletCashbackStatus": null,
        "deliveryUpgraded": false
    }],
    "orderRefunds": [],
    "orderType": null,
    "internalCashbackValue": 0,
    "externalCashbackValue": 0,
    "expressDeliveryCharges": 0,
    "giftWrapCharges": 0,
    "affiliateIdStr": null,
    "deviceType": "WAP",
    "cartId": "a265562c-2531-48f3-a719-9d1b70dfc670",
    "storeDetailSRO": null,
    "deliveryType": null,
    "imsUserId": "VjAxI2IzOTNiOTA3LWExMDQtNGQwZS05ZDU3LTIxNmY2Zjk1Y2ZkOQ",
    "instantBankPromoValue": 0,
    "language": "en",
    "experimentId": null,
    "panCard": null,
    "catalogIdtoQuantityMap": {
        "-238646479": 1
    },
    "orderItemToSuborderList": [{
        "quantity": null,
        "catalogId": null,
        "vendorCode": "58f3d6",
        "suborders": [{
            "id": 148094186,
            "zoneId": 28,
            "suborderStatus": {
                "id": 3,
                "code": "DEL",
                "value": "Delivered",
                "description": "Delivered",
                "microDescription": null,
                "macroDescription": null,
                "cancellable": true
            },
            "orderId": 117520218,
            "orderCode": "11762002180",
            "catalogId": -238646479,
            "code": "14819491863",
            "catalogType": "product",
            "price": 117,
            "sellingPrice": 117,
            "paidAmount": 117,
            "sdCash": 0,
            "promoValue": 0,
            "refundAmount": 0,
            "shippingCharges": 0,
            "shippingMethodCharges": 0,
            "created": 1455468157000,
            "updated": 1456047593000,
            "deliveryDate": 1456047474000,
            "sdCashCredited": 0,
            "orderEmail": "aa11h112190936@gmail.com",
            "orderMobile": "6571216894",
            "orderAddressDetail": {
                "id": 115385630,
                "name": "Aakash",
                "addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
                "addressLine2": " Near Brajbihari Lane",
                "city": "Muzaffarpur",
                "state": "Bihar",
                "pincode": "842003",
                "mobile": "6571216894",
                "landline": null,
                "recipient_name": "Aakash",
                "recipient_mobile": "6571216894",
                "addressTag": null,
                "defaultAddress": false,
                "addressStatus": null,
                "addressId": null,
                "dndActive": false
            },
            "customerName": "Aakash",
            "zonePageUrl": "delhi",
            "orderViewSource": null,
            "suborderType": {
                "id": 1,
                "code": "REG",
                "value": "Regular"
            },
            "offerPrice": 117,
            "offerDiscount": 0,
            "verifiedDate": 1455468158000,
            "inventoryTxnCode": "AK6EKRR4LO",
            "shippingMethodCode": "COD",
            "vendorCode": "58f3d6",
            "supcCode": "SDL106176684",
            "internalCashbackValue": 0,
            "externalCashbackValue": 0,
            "emiCharges": 0,
            "catalogIdL": 652596382513,
            "promoCode": null,
            "expressDeliveryCharges": 0,
            "expressDeliveryType": "STANDARD",
            "promisedDeliveryDate": 1456245758000,
            "giftWrapCharges": 0,
            "giftWrap": false,
            "deliveryDateRange": {
                "start": 1455900158000,
                "end": 1456245758000
            },
            "shipDateRange": {
                "start": 1455468158000,
                "end": 1455640958000
            },
            "earnedSdPoints": 0,
            "storeFront": "SDL",
            "subStoreFront": null,
            "sku": null,
            "fulfillmentModel": null,
            "deliveryType": null,
            "storeCode": null,
            "suborderTransactionSROs": null,
            "suborderHistorySROs": null,
            "additionalSuborderDetailsSRO": null,
            "productFlowType": "PRODUCT",
            "paymentModeCharges": 0,
            "vendorServiceFinancialSRO": {
                "suborderCode": "14819491863",
                "vendorPrice": 106,
                "merchantCut": null,
                "vendorSponsoredExternalCashback": 0.0,
                "vendorSponsoredInternalCashback": 0.0,
                "vendorSponsoredEmiCharge": 0.0,
                "snapdealSponsoreEmiCharge": 0.0,
                "sdCommission": 7.94,
                "serviceTax": 1.35,
                "courierCost": 103,
                "fulfillmentFees": 0.0,
                "waiverAmount": 0.0,
                "sellingPrice": 117,
                "id": 137026068,
                "created": 1455468157000,
                "updated": 1455468158000,
                "cashbackAdjustment": null
            },
            "additionalOfferDetailsSROList": [],
            "deliverySource": "COURIER",
            "stateTax": 0,
            "shipFarCharges": 0,
            "suborderFreebieMapping": null,
            "parentSuborderId": null,
            "bundleCode": null,
            "bundleType": null,
            "childSuborders": null,
            "policyID": null,
            "experimentId": null,
            "vendorPrice": 0,
            "instantBankPromoValue": 0,
            "sellingPriceExcludingCashbacks": 117,
            "instantBankPromoCode": null,
            "instantBankPromoSourceName": null,
            "instantBankPromoSourceType": null,
            "instantBankPromoSdSponsoredValue": 0,
            "instantBankPromoSourceSponsoredValue": 0,
            "deliveryCharges": 0,
            "totalWalletCashbackValue": 0,
            "walletCashbackStatus": null,
            "deliveryUpgraded": false
        }],
        "catalogIdL": 652596382513
    }],
    "totalEmiCharges": 0,
    "catalogToSuborderMap": {
        "-238646479": [{
            "id": 148094186,
            "zoneId": 28,
            "suborderStatus": {
                "id": 3,
                "code": "DEL",
                "value": "Delivered",
                "description": "Delivered",
                "microDescription": null,
                "macroDescription": null,
                "cancellable": true
            },
            "orderId": 117520218,
            "orderCode": "11762002180",
            "catalogId": -238646479,
            "code": "14819491863",
            "catalogType": "product",
            "price": 117,
            "sellingPrice": 117,
            "paidAmount": 117,
            "sdCash": 0,
            "promoValue": 0,
            "refundAmount": 0,
            "shippingCharges": 0,
            "shippingMethodCharges": 0,
            "created": 1455468157000,
            "updated": 1456047593000,
            "deliveryDate": 1456047474000,
            "sdCashCredited": 0,
            "orderEmail": "aa11h112190936@gmail.com",
            "orderMobile": "6571216894",
            "orderAddressDetail": {
                "id": 115385630,
                "name": "Aakash",
                "addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
                "addressLine2": " Near Brajbihari Lane",
                "city": "Muzaffarpur",
                "state": "Bihar",
                "pincode": "842003",
                "mobile": "6571216894",
                "landline": null,
                "recipient_name": "Aakash",
                "recipient_mobile": "6571216894",
                "addressTag": null,
                "defaultAddress": false,
                "addressStatus": null,
                "addressId": null,
                "dndActive": false
            },
            "customerName": "Aakash",
            "zonePageUrl": "delhi",
            "orderViewSource": null,
            "suborderType": {
                "id": 1,
                "code": "REG",
                "value": "Regular"
            },
            "offerPrice": 117,
            "offerDiscount": 0,
            "verifiedDate": 1455468158000,
            "inventoryTxnCode": "AK6EKRR4LO",
            "shippingMethodCode": "COD",
            "vendorCode": "58f3d6",
            "supcCode": "SDL106176684",
            "internalCashbackValue": 0,
            "externalCashbackValue": 0,
            "emiCharges": 0,
            "catalogIdL": 652596382513,
            "promoCode": null,
            "expressDeliveryCharges": 0,
            "expressDeliveryType": "STANDARD",
            "promisedDeliveryDate": 1456245758000,
            "giftWrapCharges": 0,
            "giftWrap": false,
            "deliveryDateRange": {
                "start": 1455900158000,
                "end": 1456245758000
            },
            "shipDateRange": {
                "start": 1455468158000,
                "end": 1455640958000
            },
            "earnedSdPoints": 0,
            "storeFront": "SDL",
            "subStoreFront": null,
            "sku": null,
            "fulfillmentModel": null,
            "deliveryType": null,
            "storeCode": null,
            "suborderTransactionSROs": null,
            "suborderHistorySROs": null,
            "additionalSuborderDetailsSRO": null,
            "productFlowType": "PRODUCT",
            "paymentModeCharges": 0,
            "vendorServiceFinancialSRO": {
                "suborderCode": "14819491863",
                "vendorPrice": 106,
                "merchantCut": null,
                "vendorSponsoredExternalCashback": 0.0,
                "vendorSponsoredInternalCashback": 0.0,
                "vendorSponsoredEmiCharge": 0.0,
                "snapdealSponsoreEmiCharge": 0.0,
                "sdCommission": 7.94,
                "serviceTax": 1.35,
                "courierCost": 103,
                "fulfillmentFees": 0.0,
                "waiverAmount": 0.0,
                "sellingPrice": 117,
                "id": 137026068,
                "created": 1455468157000,
                "updated": 1455468158000,
                "cashbackAdjustment": null
            },
            "additionalOfferDetailsSROList": [],
            "deliverySource": "COURIER",
            "stateTax": 0,
            "shipFarCharges": 0,
            "suborderFreebieMapping": null,
            "parentSuborderId": null,
            "bundleCode": null,
            "bundleType": null,
            "childSuborders": null,
            "policyID": null,
            "experimentId": null,
            "vendorPrice": 0,
            "instantBankPromoValue": 0,
            "sellingPriceExcludingCashbacks": 117,
            "instantBankPromoCode": null,
            "instantBankPromoSourceName": null,
            "instantBankPromoSourceType": null,
            "instantBankPromoSdSponsoredValue": 0,
            "instantBankPromoSourceSponsoredValue": 0,
            "deliveryCharges": 0,
            "totalWalletCashbackValue": 0,
            "walletCashbackStatus": null,
            "deliveryUpgraded": false
        }]
    },
    "catalogToSuborderMapL": {
        "652596382513": [{
            "id": 148094186,
            "zoneId": 28,
            "suborderStatus": {
                "id": 3,
                "code": "DEL",
                "value": "Delivered",
                "description": "Delivered",
                "microDescription": null,
                "macroDescription": null,
                "cancellable": true
            },
            "orderId": 117520218,
            "orderCode": "11762002180",
            "catalogId": -238646479,
            "code": "14819491863",
            "catalogType": "product",
            "price": 117,
            "sellingPrice": 117,
            "paidAmount": 117,
            "sdCash": 0,
            "promoValue": 0,
            "refundAmount": 0,
            "shippingCharges": 0,
            "shippingMethodCharges": 0,
            "created": 1455468157000,
            "updated": 1456047593000,
            "deliveryDate": 1456047474000,
            "sdCashCredited": 0,
            "orderEmail": "aa11h112190936@gmail.com",
            "orderMobile": "6571216894",
            "orderAddressDetail": {
                "id": 115385630,
                "name": "Aakash",
                "addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
                "addressLine2": " Near Brajbihari Lane",
                "city": "Muzaffarpur",
                "state": "Bihar",
                "pincode": "842003",
                "mobile": "6571216894",
                "landline": null,
                "recipient_name": "Aakash",
                "recipient_mobile": "6571216894",
                "addressTag": null,
                "defaultAddress": false,
                "addressStatus": null,
                "addressId": null,
                "dndActive": false
            },
            "customerName": "Aakash",
            "zonePageUrl": "delhi",
            "orderViewSource": null,
            "suborderType": {
                "id": 1,
                "code": "REG",
                "value": "Regular"
            },
            "offerPrice": 117,
            "offerDiscount": 0,
            "verifiedDate": 1455468158000,
            "inventoryTxnCode": "AK6EKRR4LO",
            "shippingMethodCode": "COD",
            "vendorCode": "58f3d6",
            "supcCode": "SDL106176684",
            "internalCashbackValue": 0,
            "externalCashbackValue": 0,
            "emiCharges": 0,
            "catalogIdL": 652596382513,
            "promoCode": null,
            "expressDeliveryCharges": 0,
            "expressDeliveryType": "STANDARD",
            "promisedDeliveryDate": 1456245758000,
            "giftWrapCharges": 0,
            "giftWrap": false,
            "deliveryDateRange": {
                "start": 1455900158000,
                "end": 1456245758000
            },
            "shipDateRange": {
                "start": 1455468158000,
                "end": 1455640958000
            },
            "earnedSdPoints": 0,
            "storeFront": "SDL",
            "subStoreFront": null,
            "sku": null,
            "fulfillmentModel": null,
            "deliveryType": null,
            "storeCode": null,
            "suborderTransactionSROs": null,
            "suborderHistorySROs": null,
            "additionalSuborderDetailsSRO": null,
            "productFlowType": "PRODUCT",
            "paymentModeCharges": 0,
            "vendorServiceFinancialSRO": {
                "suborderCode": "14819491863",
                "vendorPrice": 106,
                "merchantCut": null,
                "vendorSponsoredExternalCashback": 0.0,
                "vendorSponsoredInternalCashback": 0.0,
                "vendorSponsoredEmiCharge": 0.0,
                "snapdealSponsoreEmiCharge": 0.0,
                "sdCommission": 7.94,
                "serviceTax": 1.35,
                "courierCost": 103,
                "fulfillmentFees": 0.0,
                "waiverAmount": 0.0,
                "sellingPrice": 117,
                "id": 137026068,
                "created": 1455468157000,
                "updated": 1455468158000,
                "cashbackAdjustment": null
            },
            "additionalOfferDetailsSROList": [],
            "deliverySource": "COURIER",
            "stateTax": 0,
            "shipFarCharges": 0,
            "suborderFreebieMapping": null,
            "parentSuborderId": null ,
            "bundleCode": null,
            "bundleType": null,
            "childSuborders": null,
            "policyID": null,
            "experimentId": null,
            "vendorPrice": 0,
            "instantBankPromoValue": 0,
            "sellingPriceExcludingCashbacks": 117,
            "instantBankPromoCode": null,
            "instantBankPromoSourceName": null,
            "instantBankPromoSourceType": null,
            "instantBankPromoSdSponsoredValue": 0,
            "instantBankPromoSourceSponsoredValue": 0,
            "deliveryCharges": 0,
            "totalWalletCashbackValue": 0,
            "walletCashbackStatus": null,
            "deliveryUpgraded": false
        }]
    },
    "catalogIdtoQuantityMapL": {
        "652596382513": 1
    }
}] }

我如何在Javascrpit中解析它并使用值?

2 个答案:

答案 0 :(得分:0)

使用方法.toJSON()将序列化的JSON反序列化为json对象。

例如:

var serialized_json = "{'a': '1', 'b': '2'}";
serialized_json.toJSON()

答案 1 :(得分:0)

只需按键名称

访问它们
json.orderSROList

json.successful

var json = {
	"successful": true,
	"code": null,
	"message": null,
	"validationErrors": [],
	"protocol": "PROTOCOL_JSON",
	"orderSROList": [{
		"id": 117520218,
		"addressDetail": {
			"id": 115385630,
			"name": "Aakash",
			"addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
			"addressLine2": " Near Brajbihari Lane",
			"city": "Muzaffarpur",
			"state": "Bihar",
			"pincode": "842003",
			"mobile": "6571216894",
			"landline": null,
			"recipient_name": "Aakash",
			"recipient_mobile": "6571216894",
			"addressTag": null,
			"defaultAddress": false,
			"addressStatus": null,
			"addressId": null,
			"dndActive": false
		},
		"zoneId": 28,
		"code": "11762002180",
		"orderStatus": {
			"id": 2,
			"code": "CTD",
			"value": "Completed",
			"description": "Completed"
		},
		"customerName": "Aakash",
		"userId": 151708376,
		"email": "aa11h112190936@gmail.com",
		"mobile": "6571216894",
		"price": 117,
		"sellingPrice": 117,
		"paidAmount": 117,
		"sdCash": 0,
		"promoValue": 0,
		"refundAmount": 0,
		"shippingCharges": 0,
		"shippingMethodCharges": 0,
		"retry": false,
		"orderSummaryLink": "http://www.snapdeal.com//orderSummary?code=dc282e3690af61023f82f2828db0dabf&order=11762002180",
		"channelCode": "wap",
		"partnerTransactionCode": null,
		"affiliateId": null,
		"created": 1455468157000,
		"updated": 1455468158000,
		"latitude": null,
		"longitude": null,
		"orderTransactions": [],
		"suborders": [{
			"id": 148094186,
			"zoneId": 28,
			"suborderStatus": {
				"id": 3,
				"code": "DEL",
				"value": "Delivered",
				"description": "Delivered",
				"microDescription": null,
				"macroDescription": null,
				"cancellable": true
			},
			"orderId": 117520218,
			"orderCode": "11762002180",
			"catalogId": -238646479,
			"code": "14819491863",
			"catalogType": "product",
			"price": 117,
			"sellingPrice": 117,
			"paidAmount": 117,
			"sdCash": 0,
			"promoValue": 0,
			"refundAmount": 0,
			"shippingCharges": 0,
			"shippingMethodCharges": 0,
			"created": 1455468157000,
			"updated": 1456047593000,
			"deliveryDate": 1456047474000,
			"sdCashCredited": 0,
			"orderEmail": "aa11h112190936@gmail.com",
			"orderMobile": "6571216894",
			"orderAddressDetail": {
				"id": 115385630,
				"name": "Aakash",
				"addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
				"addressLine2": " Near Brajbihari Lane",
				"city": "Muzaffarpur",
				"state": "Bihar",
				"pincode": "842003",
				"mobile": "6571216894",
				"landline": null,
				"recipient_name": "Aakash",
				"recipient_mobile": "6571216894",
				"addressTag": null,
				"defaultAddress": false,
				"addressStatus": null,
				"addressId": null,
				"dndActive": false
			},
			"customerName": "Aakash",
			"zonePageUrl": "delhi",
			"orderViewSource": null,
			"suborderType": {
				"id": 1,
				"code": "REG",
				"value": "Regular"
			},
			"offerPrice": 117,
			"offerDiscount": 0,
			"verifiedDate": 1455468158000,
			"inventoryTxnCode": "AK6EKRR4LO",
			"shippingMethodCode": "COD",
			"vendorCode": "58f3d6",
			"supcCode": "SDL106176684",
			"internalCashbackValue": 0,
			"externalCashbackValue": 0,
			"emiCharges": 0,
			"catalogIdL": 652596382513,
			"promoCode": null,
			"expressDeliveryCharges": 0,
			"expressDeliveryType": "STANDARD",
			"promisedDeliveryDate": 1456245758000,
			"giftWrapCharges": 0,
			"giftWrap": false,
			"deliveryDateRange": {
				"start": 1455900158000,
				"end": 1456245758000
			},
			"shipDateRange": {
				"start": 1455468158000,
				"end": 1455640958000
			},
			"earnedSdPoints": 0,
			"storeFront": "SDL",
			"subStoreFront": null,
			"sku": null,
			"fulfillmentModel": null,
			"deliveryType": null,
			"storeCode": null,
			"suborderTransactionSROs": null,
			"suborderHistorySROs": null,
			"additionalSuborderDetailsSRO": null,
			"productFlowType": "PRODUCT",
			"paymentModeCharges": 0,
			"vendorServiceFinancialSRO": {
				"suborderCode": "14819491863",
				"vendorPrice": 106,
				"merchantCut": null,
				"vendorSponsoredExternalCashback": 0.0,
				"vendorSponsoredInternalCashback": 0.0,
				"vendorSponsoredEmiCharge": 0.0,
				"snapdealSponsoreEmiCharge": 0.0,
				"sdCommission": 7.94,
				"serviceTax": 1.35,
				"courierCost": 103,
				"fulfillmentFees": 0.0,
				"waiverAmount": 0.0,
				"sellingPrice": 117,
				"id": 137026068,
				"created": 1455468157000,
				"updated": 1455468158000,
				"cashbackAdjustment": null
			},
			"additionalOfferDetailsSROList": [],
			"deliverySource": "COURIER",
			"stateTax": 0,
			"shipFarCharges": 0,
			"suborderFreebieMapping": null,
			"parentSuborderId": null,
			"bundleCode": null,
			"bundleType": null,
			"childSuborders": null,
			"policyID": null,
			"experimentId": null,
			"vendorPrice": 0,
			"instantBankPromoValue": 0,
			"sellingPriceExcludingCashbacks": 117,
			"instantBankPromoCode": null,
			"instantBankPromoSourceName": null,
			"instantBankPromoSourceType": null,
			"instantBankPromoSdSponsoredValue": 0,
			"instantBankPromoSourceSponsoredValue": 0,
			"deliveryCharges": 0,
			"totalWalletCashbackValue": 0,
			"walletCashbackStatus": null,
			"deliveryUpgraded": false
		}],
		"orderRefunds": [],
		"orderType": null,
		"internalCashbackValue": 0,
		"externalCashbackValue": 0,
		"expressDeliveryCharges": 0,
		"giftWrapCharges": 0,
		"affiliateIdStr": null,
		"deviceType": "WAP",
		"cartId": "a265562c-2531-48f3-a719-9d1b70dfc670",
		"storeDetailSRO": null,
		"deliveryType": null,
		"imsUserId": "VjAxI2IzOTNiOTA3LWExMDQtNGQwZS05ZDU3LTIxNmY2Zjk1Y2ZkOQ",
		"instantBankPromoValue": 0,
		"language": "en",
		"experimentId": null,
		"panCard": null,
		"catalogIdtoQuantityMap": {
			"-238646479": 1
		},
		"orderItemToSuborderList": [{
			"quantity": null,
			"catalogId": null,
			"vendorCode": "58f3d6",
			"suborders": [{
				"id": 148094186,
				"zoneId": 28,
				"suborderStatus": {
					"id": 3,
					"code": "DEL",
					"value": "Delivered",
					"description": "Delivered",
					"microDescription": null,
					"macroDescription": null,
					"cancellable": true
				},
				"orderId": 117520218,
				"orderCode": "11762002180",
				"catalogId": -238646479,
				"code": "14819491863",
				"catalogType": "product",
				"price": 117,
				"sellingPrice": 117,
				"paidAmount": 117,
				"sdCash": 0,
				"promoValue": 0,
				"refundAmount": 0,
				"shippingCharges": 0,
				"shippingMethodCharges": 0,
				"created": 1455468157000,
				"updated": 1456047593000,
				"deliveryDate": 1456047474000,
				"sdCashCredited": 0,
				"orderEmail": "aa11h112190936@gmail.com",
				"orderMobile": "6571216894",
				"orderAddressDetail": {
					"id": 115385630,
					"name": "Aakash",
					"addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
					"addressLine2": " Near Brajbihari Lane",
					"city": "Muzaffarpur",
					"state": "Bihar",
					"pincode": "842003",
					"mobile": "6571216894",
					"landline": null,
					"recipient_name": "Aakash",
					"recipient_mobile": "6571216894",
					"addressTag": null,
					"defaultAddress": false,
					"addressStatus": null,
					"addressId": null,
					"dndActive": false
				},
				"customerName": "Aakash",
				"zonePageUrl": "delhi",
				"orderViewSource": null,
				"suborderType": {
					"id": 1,
					"code": "REG",
					"value": "Regular"
				},
				"offerPrice": 117,
				"offerDiscount": 0,
				"verifiedDate": 1455468158000,
				"inventoryTxnCode": "AK6EKRR4LO",
				"shippingMethodCode": "COD",
				"vendorCode": "58f3d6",
				"supcCode": "SDL106176684",
				"internalCashbackValue": 0,
				"externalCashbackValue": 0,
				"emiCharges": 0,
				"catalogIdL": 652596382513,
				"promoCode": null,
				"expressDeliveryCharges": 0,
				"expressDeliveryType": "STANDARD",
				"promisedDeliveryDate": 1456245758000,
				"giftWrapCharges": 0,
				"giftWrap": false,
				"deliveryDateRange": {
					"start": 1455900158000,
					"end": 1456245758000
				},
				"shipDateRange": {
					"start": 1455468158000,
					"end": 1455640958000
				},
				"earnedSdPoints": 0,
				"storeFront": "SDL",
				"subStoreFront": null,
				"sku": null,
				"fulfillmentModel": null,
				"deliveryType": null,
				"storeCode": null,
				"suborderTransactionSROs": null,
				"suborderHistorySROs": null,
				"additionalSuborderDetailsSRO": null,
				"productFlowType": "PRODUCT",
				"paymentModeCharges": 0,
				"vendorServiceFinancialSRO": {
					"suborderCode": "14819491863",
					"vendorPrice": 106,
					"merchantCut": null,
					"vendorSponsoredExternalCashback": 0.0,
					"vendorSponsoredInternalCashback": 0.0,
					"vendorSponsoredEmiCharge": 0.0,
					"snapdealSponsoreEmiCharge": 0.0,
					"sdCommission": 7.94,
					"serviceTax": 1.35,
					"courierCost": 103,
					"fulfillmentFees": 0.0,
					"waiverAmount": 0.0,
					"sellingPrice": 117,
					"id": 137026068,
					"created": 1455468157000,
					"updated": 1455468158000,
					"cashbackAdjustment": null
				},
				"additionalOfferDetailsSROList": [],
				"deliverySource": "COURIER",
				"stateTax": 0,
				"shipFarCharges": 0,
				"suborderFreebieMapping": null,
				"parentSuborderId": null,
				"bundleCode": null,
				"bundleType": null,
				"childSuborders": null,
				"policyID": null,
				"experimentId": null,
				"vendorPrice": 0,
				"instantBankPromoValue": 0,
				"sellingPriceExcludingCashbacks": 117,
				"instantBankPromoCode": null,
				"instantBankPromoSourceName": null,
				"instantBankPromoSourceType": null,
				"instantBankPromoSdSponsoredValue": 0,
				"instantBankPromoSourceSponsoredValue": 0,
				"deliveryCharges": 0,
				"totalWalletCashbackValue": 0,
				"walletCashbackStatus": null,
				"deliveryUpgraded": false
			}],
			"catalogIdL": 652596382513
		}],
		"totalEmiCharges": 0,
		"catalogToSuborderMap": {
			"-238646479": [{
				"id": 148094186,
				"zoneId": 28,
				"suborderStatus": {
					"id": 3,
					"code": "DEL",
					"value": "Delivered",
					"description": "Delivered",
					"microDescription": null,
					"macroDescription": null,
					"cancellable": true
				},
				"orderId": 117520218,
				"orderCode": "11762002180",
				"catalogId": -238646479,
				"code": "14819491863",
				"catalogType": "product",
				"price": 117,
				"sellingPrice": 117,
				"paidAmount": 117,
				"sdCash": 0,
				"promoValue": 0,
				"refundAmount": 0,
				"shippingCharges": 0,
				"shippingMethodCharges": 0,
				"created": 1455468157000,
				"updated": 1456047593000,
				"deliveryDate": 1456047474000,
				"sdCashCredited": 0,
				"orderEmail": "aa11h112190936@gmail.com",
				"orderMobile": "6571216894",
				"orderAddressDetail": {
					"id": 115385630,
					"name": "Aakash",
					"addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
					"addressLine2": " Near Brajbihari Lane",
					"city": "Muzaffarpur",
					"state": "Bihar",
					"pincode": "842003",
					"mobile": "6571216894",
					"landline": null,
					"recipient_name": "Aakash",
					"recipient_mobile": "6571216894",
					"addressTag": null,
					"defaultAddress": false,
					"addressStatus": null,
					"addressId": null,
					"dndActive": false
				},
				"customerName": "Aakash",
				"zonePageUrl": "delhi",
				"orderViewSource": null,
				"suborderType": {
					"id": 1,
					"code": "REG",
					"value": "Regular"
				},
				"offerPrice": 117,
				"offerDiscount": 0,
				"verifiedDate": 1455468158000,
				"inventoryTxnCode": "AK6EKRR4LO",
				"shippingMethodCode": "COD",
				"vendorCode": "58f3d6",
				"supcCode": "SDL106176684",
				"internalCashbackValue": 0,
				"externalCashbackValue": 0,
				"emiCharges": 0,
				"catalogIdL": 652596382513,
				"promoCode": null,
				"expressDeliveryCharges": 0,
				"expressDeliveryType": "STANDARD",
				"promisedDeliveryDate": 1456245758000,
				"giftWrapCharges": 0,
				"giftWrap": false,
				"deliveryDateRange": {
					"start": 1455900158000,
					"end": 1456245758000
				},
				"shipDateRange": {
					"start": 1455468158000,
					"end": 1455640958000
				},
				"earnedSdPoints": 0,
				"storeFront": "SDL",
				"subStoreFront": null,
				"sku": null,
				"fulfillmentModel": null,
				"deliveryType": null,
				"storeCode": null,
				"suborderTransactionSROs": null,
				"suborderHistorySROs": null,
				"additionalSuborderDetailsSRO": null,
				"productFlowType": "PRODUCT",
				"paymentModeCharges": 0,
				"vendorServiceFinancialSRO": {
					"suborderCode": "14819491863",
					"vendorPrice": 106,
					"merchantCut": null,
					"vendorSponsoredExternalCashback": 0.0,
					"vendorSponsoredInternalCashback": 0.0,
					"vendorSponsoredEmiCharge": 0.0,
					"snapdealSponsoreEmiCharge": 0.0,
					"sdCommission": 7.94,
					"serviceTax": 1.35,
					"courierCost": 103,
					"fulfillmentFees": 0.0,
					"waiverAmount": 0.0,
					"sellingPrice": 117,
					"id": 137026068,
					"created": 1455468157000,
					"updated": 1455468158000,
					"cashbackAdjustment": null
				},
				"additionalOfferDetailsSROList": [],
				"deliverySource": "COURIER",
				"stateTax": 0,
				"shipFarCharges": 0,
				"suborderFreebieMapping": null,
				"parentSuborderId": null,
				"bundleCode": null,
				"bundleType": null,
				"childSuborders": null,
				"policyID": null,
				"experimentId": null,
				"vendorPrice": 0,
				"instantBankPromoValue": 0,
				"sellingPriceExcludingCashbacks": 117,
				"instantBankPromoCode": null,
				"instantBankPromoSourceName": null,
				"instantBankPromoSourceType": null,
				"instantBankPromoSdSponsoredValue": 0,
				"instantBankPromoSourceSponsoredValue": 0,
				"deliveryCharges": 0,
				"totalWalletCashbackValue": 0,
				"walletCashbackStatus": null,
				"deliveryUpgraded": false
			}]
		},
		"catalogToSuborderMapL": {
			"652596382513": [{
				"id": 148094186,
				"zoneId": 28,
				"suborderStatus": {
					"id": 3,
					"code": "DEL",
					"value": "Delivered",
					"description": "Delivered",
					"microDescription": null,
					"macroDescription": null,
					"cancellable": true
				},
				"orderId": 117520218,
				"orderCode": "11762002180",
				"catalogId": -238646479,
				"code": "14819491863",
				"catalogType": "product",
				"price": 117,
				"sellingPrice": 117,
				"paidAmount": 117,
				"sdCash": 0,
				"promoValue": 0,
				"refundAmount": 0,
				"shippingCharges": 0,
				"shippingMethodCharges": 0,
				"created": 1455468157000,
				"updated": 1456047593000,
				"deliveryDate": 1456047474000,
				"sdCashCredited": 0,
				"orderEmail": "aa11h112190936@gmail.com",
				"orderMobile": "6571216894",
				"orderAddressDetail": {
					"id": 115385630,
					"name": "Aakash",
					"addressLine1": "Krishna Toli Road No.4 Brahmpura Muzaffarpur",
					"addressLine2": " Near Brajbihari Lane",
					"city": "Muzaffarpur",
					"state": "Bihar",
					"pincode": "842003",
					"mobile": "6571216894",
					"landline": null,
					"recipient_name": "Aakash",
					"recipient_mobile": "6571216894",
					"addressTag": null,
					"defaultAddress": false,
					"addressStatus": null,
					"addressId": null,
					"dndActive": false
				},
				"customerName": "Aakash",
				"zonePageUrl": "delhi",
				"orderViewSource": null,
				"suborderType": {
					"id": 1,
					"code": "REG",
					"value": "Regular"
				},
				"offerPrice": 117,
				"offerDiscount": 0,
				"verifiedDate": 1455468158000,
				"inventoryTxnCode": "AK6EKRR4LO",
				"shippingMethodCode": "COD",
				"vendorCode": "58f3d6",
				"supcCode": "SDL106176684",
				"internalCashbackValue": 0,
				"externalCashbackValue": 0,
				"emiCharges": 0,
				"catalogIdL": 652596382513,
				"promoCode": null,
				"expressDeliveryCharges": 0,
				"expressDeliveryType": "STANDARD",
				"promisedDeliveryDate": 1456245758000,
				"giftWrapCharges": 0,
				"giftWrap": false,
				"deliveryDateRange": {
					"start": 1455900158000,
					"end": 1456245758000
				},
				"shipDateRange": {
					"start": 1455468158000,
					"end": 1455640958000
				},
				"earnedSdPoints": 0,
				"storeFront": "SDL",
				"subStoreFront": null,
				"sku": null,
				"fulfillmentModel": null,
				"deliveryType": null,
				"storeCode": null,
				"suborderTransactionSROs": null,
				"suborderHistorySROs": null,
				"additionalSuborderDetailsSRO": null,
				"productFlowType": "PRODUCT",
				"paymentModeCharges": 0,
				"vendorServiceFinancialSRO": {
					"suborderCode": "14819491863",
					"vendorPrice": 106,
					"merchantCut": null,
					"vendorSponsoredExternalCashback": 0.0,
					"vendorSponsoredInternalCashback": 0.0,
					"vendorSponsoredEmiCharge": 0.0,
					"snapdealSponsoreEmiCharge": 0.0,
					"sdCommission": 7.94,
					"serviceTax": 1.35,
					"courierCost": 103,
					"fulfillmentFees": 0.0,
					"waiverAmount": 0.0,
					"sellingPrice": 117,
					"id": 137026068,
					"created": 1455468157000,
					"updated": 1455468158000,
					"cashbackAdjustment": null
				},
				"additionalOfferDetailsSROList": [],
				"deliverySource": "COURIER",
				"stateTax": 0,
				"shipFarCharges": 0,
				"suborderFreebieMapping": null,
				"parentSuborderId": null,
				"bundleCode": null,
				"bundleType": null,
				"childSuborders": null,
				"policyID": null,
				"experimentId": null,
				"vendorPrice": 0,
				"instantBankPromoValue": 0,
				"sellingPriceExcludingCashbacks": 117,
				"instantBankPromoCode": null,
				"instantBankPromoSourceName": null,
				"instantBankPromoSourceType": null,
				"instantBankPromoSdSponsoredValue": 0,
				"instantBankPromoSourceSponsoredValue": 0,
				"deliveryCharges": 0,
				"totalWalletCashbackValue": 0,
				"walletCashbackStatus": null,
				"deliveryUpgraded": false
			}]
		},
		"catalogIdtoQuantityMapL": {
			"652596382513": 1
		}
	}]
};

alert(json.orderSROList.length);
alert(json.successful);
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>

它正在完成工作。