1
Vote

valid json issue with array

description

The following is valid json but fails
ADDPROPERTY(oResult,cProp,uValue) - oResult is an empty object ..

{
"product_name": "Design Your Own",
"product_id": null,
"type": null,
"is_gift": true,
"is_new_membership": true,
"is_design_your_own": true,
"reminder_to_reorder": true,
"membership_total": "198.80",
"subtotal": "139.80",
"shipment_total": 68.95,
"number_of_shipments": 4,
"shipment_start": null,
"shipment_delivery": null,
"payment_type": "one_time",
"qty": 1,
"scheduled_for": {
    "August 2015": [
        {
            "club_label": "Beer: Rare — 4 Bottles",
            "price": "52.9500",
            "associated_product_id": "7"
        }
    ],
    "September 2015": [
        {
            "club_label": "Cheese",
            "price": "32.9500",
            "associated_product_id": "9"
        },
        {
            "club_label": "Beer: Domestic",
            "price": "23.9500",
            "associated_product_id": "4"
        }
    ],
    "January 2016": [
        {
            "club_label": "Beer: Domestic & International",
            "price": "29.9500",
            "associated_product_id": "22"
        }
    ]
}
}

comments