ios - how to handle the below data -
the problwm iam facing ..when ever iam passing values array inside dictionyy..it showing me error -1005 connection lost..and when ever dont pass values response getting created inthe server side database ofiice price details , office contact information , office document not saving ..can 1 me how handle in advance
[ { "officeprice": [ { "office": 1, "making_charge": 1, "wastage": 1, "weight_by": 1, "credit_period": 1, "cartage_price_type": null, "cartage_price": null, "diamond_price": 1, "amethyst_price": 1, "amber_price": 1, "sapphire_price": 1, "emerald_price": null, "ruby_price": null, "id": 1, "createdat": "2016-04-15t08:41:08.000z", "updatedat": "2016-04-16t14:18:39.000z" } ], "officecontactperson": [ { "office": 1, "contact_name": null, "designation": "asdf", "department": "234", "mobile": "1231231231", "email": null, "incharge_status": null, "created_by": null, "modified_by": null, "id": 1, "createdat": "2016-04-15t08:41:08.000z", "updatedat": "2016-04-16t14:18:39.000z" }, { "office": 1, "contact_name": null, "designation": "asdf", "department": "asdf", "mobile": "1231231231", "email": null, "incharge_status": null, "created_by": null, "modified_by": null, "id": 2, "createdat": "2016-04-15t08:41:08.000z", "updatedat": "2016-04-16t14:18:39.000z" } ], "officebank": [ { "office": 1, "bank": 2, "branch": null, "city": null, "account_type": 1, "ifsc_code": "12123", "account_number": "12234", "account_name": "asdfasd", "id": 3, "createdat": "2016-04-16t14:18:39.000z", "updatedat": "2016-04-16t14:18:39.000z" } ], "officedocument": [ { "office": 1, "document_original": null, "document_stored_name": null, "id": 1, "createdat": "2016-04-15t08:41:08.000z", "updatedat": "2016-04-16t14:18:39.000z" } ], "city": { "name": "bengalore", "id": 1, "createdat": null, "updatedat": "2016-04-16t16:02:53.000z" }, "state": { "name": "karnataga", "id": 1, "createdat": null, "updatedat": "2016-04-16t16:02:53.000z" }, "district": { "name": "bgl", "id": 1, "createdat": null, "updatedat": "2016-04-16t16:02:53.000z" }, "name": "kkk", "short_name": "asdf", "shop_no": "1", "door_no": "11", "floor": "1", "building": "1", "street": "1", "area": "1", "main": "1", "pincode": "1", "telephone": "1", "hallmarking": null, "payment_by": null, "delivered_to": null, "active_status": null, "delete_status": null, "created_by": null, "modified_by": null, "office_photo_original": null, "office_photo_stored_name": null, "cin_path": null, "vat": null, "pan": null, "others": "123123", "id": 1, "createdat": "2016-04-15t08:41:08.000z", "updatedat": "2016-04-16t14:18:39.000z" }
the dictionary can't save null values.
Comments
Post a Comment