Chilkat HOME .NET Core C# Android™ AutoIt C C# C++ Chilkat2-Python CkPython Classic ASP DataFlex Delphi ActiveX Delphi DLL Go Java Lianja Mono C# Node.js Objective-C PHP ActiveX PHP Extension Perl PowerBuilder PowerShell PureBasic Ruby SQL Server Swift 2 Swift 3,4,5... Tcl Unicode C Unicode C++ VB.NET VBScript Visual Basic 6.0 Visual FoxPro Xojo Plugin
(Swift 3,4,5...) Activix CRM Search for LeadsDemonstrates how to full-text search for leads, returning a JSON list of leads. For more information, see https://docs.crm.activix.ca/api/resources/lead
func chilkatTest() { // This example requires the Chilkat API to have been previously unlocked. // See Global Unlock Sample for sample code. let http = CkoHttp()! http.authToken = "ACCESS_TOKEN" http.accept = "application/json" var strResp: String? = http.quickGetStr("https://crm.activix.ca/api/v2/leads/search?query=Doe") if http.lastMethodSuccess != true { print("\(http.lastErrorText!)") return } print("Response Status Code: \(http.lastStatus.intValue)") let jsonResponse = CkoJsonObject()! jsonResponse.load(strResp) jsonResponse.emitCompact = false print("\(jsonResponse.emit()!)") if http.lastStatus.intValue != 200 { print("Failed.") return } // Sample output... // (See the parsing code below..) // // Use this online tool to generate parsing code from sample JSON: // Generate Parsing Code from JSON // { // "data": [ // { // "id": 3387562, // "created_at": "2018-04-09T18:05:00+00:00", // "updated_at": "2018-04-09T18:07:00+00:00", // "first_name": "John", // "last_name": "Doe", // ... // "account": { // "id": 66, // ... // }, // "advisor": { // "id": 51112, // ... // }, // "emails": [ // { // "id": 3664451, // ... // }, // ... // ], // "phones": [ // { // "id": 9465546, // ... // }, // ... // ], // "vehicles": [ // { // "id": 4542214, // ... // }, // ... // ] // }, // ... // ], // "links": { // "first": "https://crm.activix.ca/api/v2/leads/search?query=John&page=1", // "last": "https://crm.activix.ca/api/v2/leads/search?query=John&page=47", // "prev": null, // "next": "https://crm.activix.ca/api/v2/leads/search?query=John&page=2" // }, // "meta": { // "current_page": 1, // "from": 1, // "last_page": 47, // "path": "https://crm.activix.ca/api/v2/leads/search", // "per_page": 25, // "to": 25, // "total": 1161 // } // } var linksFirst: String? var linksLast: String? var linksPrev: String? var linksNext: String? var metaCurrent_page: Int var metaFrom: Int var metaLast_page: Int var metaPath: String? var metaPer_page: Int var metaTo: Int var metaTotal: Int var i: Int var count_i: Int var id: Int var created_at: String? var updated_at: String? var account_id: Int var address_line1: String? var address_line2: String? var appointment_date: String? var appt_call: Bool var available_date: String? var average_spending: String? var be_back_date: String? var birth_date: String? var business: String? var call_date: String? var city: String? var civility: String? var code: String? var country: String? var csi_date: String? var delivered_by_id: String? var delivered_date: String? var delivery_date: String? var division: String? var end_service_date: String? var first_name: String? var gas: String? var gender: Int var invoiced: Bool var last_name: String? var last_visit_date: String? var locale: String? var loyalty: String? var next_visit_date: String? var odometer_last_visit: String? var open_work_order_date: String? var planned_pick_up_date: String? var postal_code: String? var prepaid: String? var prepared: Bool var presented_date: String? var promised_date: String? var province: String? var rating: String? var reached_client: Bool var refinanced_date: String? var repair_date: String? var repair_order: String? var result: String? var road_test_date: String? var sale_date: String? var second_contact: String? var second_contact_civility: String? var segment: String? var service_cleaned: Bool var service_interval_km: String? var service_monthly_km: String? var service_processIntention: String? var service_processTransport: String? var service_processWalk_around: String? var sex: String? var source: String? var status: String? var storage: String? var take_over_date: String? var v_type: String? var unsubscribe_all_date: String? var unsubscribe_call_date: String? var unsubscribe_email_date: String? var unsubscribe_sms_date: String? var work_order: String? var accountId: Int var accountCreated_at: String? var accountUpdated_at: String? var accountPartner_id: Int var accountActivity_report: Bool var accountCommercial: Bool var accountEvent: Bool var accountLeadxpress: Bool var accountLoyalty: Bool var accountPhone_up: Bool var accountRenewal: Bool var accountSale_table: Bool var accountService: Bool var accountWalk_in: Bool var accountWebboost: Bool var accountAccount_manager: Bool var accountActivation_date: String? var accountActive: Bool var accountAssigned_lead: Bool var accountAuto_renewal: Bool var accountAuto_renewal_new: Bool var accountAuto_renewal_used: Bool var accountAutomation: Bool var accountBdc_advisor: Bool var accountCalendar_options: Bool var accountClient_card_fieldsProcessGas: Bool var accountClient_card_fieldsProcessRecorded: Bool var accountClient_card_fieldsProcessAvailable: Bool var accountClient_card_fieldsProcessDiscounted: Bool var accountClient_card_fieldsCommercialProfit: Bool var accountClient_card_fieldsCommercialExclude: Bool var accountClient_card_fieldsCommercialMeeting: Bool var accountClient_card_fieldsPerformanceDeposit: Bool var accountClient_card_fieldsPerformanceRefinanced: Bool var accountClient_card_fieldsPerformanceDealer_tour: Bool var accountClient_card_fieldsPerformanceWalk_around: Bool var accountClient_card_fieldsPerformanceQualification: Bool var accountClient_card_fieldsPerformanceTwenty_four_hour: Bool var accountClient_card_fieldsGeneral_infoBudget: Bool var accountClient_card_fieldsGeneral_infoSector: Bool var accountClient_card_fieldsGeneral_infoCustom_1: Bool var accountClient_card_fieldsGeneral_infoCustom_2: Bool var accountClient_card_fieldsGeneral_infoCustom_3: Bool var accountClient_card_fieldsGeneral_infoCustom_4: Bool var accountClient_card_fieldsGeneral_infoCustom_5: Bool var accountClient_card_fieldsGeneral_infoCustom_6: Bool var accountClient_card_fieldsGeneral_infoCustom_7: Bool var accountClient_card_fieldsGeneral_infoCustom_8: Bool var accountClient_card_fieldsGeneral_infoCustom_9: Bool var accountClient_card_fieldsGeneral_infoCustom_10: Bool var accountClient_card_fieldsGeneral_infoCommunication_preference: Bool var accountClient_card_fieldsWanted_vehicleVin: Bool var accountClient_card_fieldsWanted_vehicleFuel: Bool var accountClient_card_fieldsWanted_vehicleRate: Bool var accountClient_card_fieldsWanted_vehicleTerm: Bool var accountClient_card_fieldsWanted_vehicleTire: Bool var accountClient_card_fieldsWanted_vehicleYear: Bool var accountClient_card_fieldsWanted_vehicleColor: Bool var accountClient_card_fieldsWanted_vehiclePrice: Bool var accountClient_card_fieldsWanted_vehicleStock: Bool var accountClient_card_fieldsWanted_vehicleTotal: Bool var accountClient_card_fieldsWanted_vehicleBudget: Bool var accountClient_card_fieldsWanted_vehicleEngine: Bool var accountClient_card_fieldsWanted_vehicleLength: Bool var accountClient_card_fieldsWanted_vehicleProfit: Bool var accountClient_card_fieldsWanted_vehicleSuffix: Bool var accountClient_card_fieldsWanted_vehicleWeight: Bool var accountClient_card_fieldsWanted_vehicleComment: Bool var accountClient_card_fieldsWanted_vehicleMileage: Bool var accountClient_card_fieldsWanted_vehiclePayment: Bool var accountClient_card_fieldsWanted_vehicleBodyType: Bool var accountClient_card_fieldsWanted_vehicleCategory: Bool var accountClient_card_fieldsWanted_vehicleModality: Bool var accountClient_card_fieldsWanted_vehicleResidual: Bool var accountClient_card_fieldsWanted_vehicleSleeping: Bool var accountClient_card_fieldsWanted_vehicleWarranty: Bool var accountClient_card_fieldsWanted_vehicleFrequency: Bool var accountClient_card_fieldsWanted_vehicleAccessories: Bool var accountClient_card_fieldsWanted_vehicleCategory_rv: Bool var accountClient_card_fieldsWanted_vehiclePreparation: Bool var accountClient_card_fieldsWanted_vehicleInitial_cash: Bool var accountClient_card_fieldsWanted_vehicleOffer_number: Bool var accountClient_card_fieldsWanted_vehicleOrder_number: Bool var accountClient_card_fieldsWanted_vehicleTransmission: Bool var accountClient_card_fieldsWanted_vehicleDocumentation: Bool var accountClient_card_fieldsWanted_vehicleDrivingWheels: Bool var accountClient_card_fieldsWanted_vehicleColor_exterior: Bool var accountClient_card_fieldsWanted_vehicleColor_interior: Bool var accountClient_card_fieldsWanted_vehicleAllowed_mileage: Bool var accountClient_card_fieldsWanted_vehicleSecurity_deposit: Bool var accountClient_card_fieldsWanted_vehicleEnd_contract_date: Bool var accountClient_card_fieldsExchange_vehicleVin: Bool var accountClient_card_fieldsExchange_vehicleFuel: Bool var accountClient_card_fieldsExchange_vehicleLink: Bool var accountClient_card_fieldsExchange_vehicleRate: Bool var accountClient_card_fieldsExchange_vehicleTerm: Bool var accountClient_card_fieldsExchange_vehicleYear: Bool var accountClient_card_fieldsExchange_vehicleColor: Bool var accountClient_card_fieldsExchange_vehiclePrice: Bool var accountClient_card_fieldsExchange_vehicleStock: Bool var accountClient_card_fieldsExchange_vehicleValue: Bool var accountClient_card_fieldsExchange_vehicleBudget: Bool var accountClient_card_fieldsExchange_vehicleEngine: Bool var accountClient_card_fieldsExchange_vehicleLength: Bool var accountClient_card_fieldsExchange_vehicleProfit: Bool var accountClient_card_fieldsExchange_vehicleSuffix: Bool var accountClient_card_fieldsExchange_vehicleWeight: Bool var accountClient_card_fieldsExchange_vehicleBalance: Bool var accountClient_card_fieldsExchange_vehicleComment: Bool var accountClient_card_fieldsExchange_vehicleMileage: Bool var accountClient_card_fieldsExchange_vehiclePayment: Bool var accountClient_card_fieldsExchange_vehicleRenewal: Bool var accountClient_card_fieldsExchange_vehicleSold_by: Bool var accountClient_card_fieldsExchange_vehicleBodyType: Bool var accountClient_card_fieldsExchange_vehicleCategory: Bool var accountClient_card_fieldsExchange_vehicleModality: Bool var accountClient_card_fieldsExchange_vehicleResidual: Bool var accountClient_card_fieldsExchange_vehicleSleeping: Bool var accountClient_card_fieldsExchange_vehicleWarranty: Bool var accountClient_card_fieldsExchange_vehicleCondition: Bool var accountClient_card_fieldsExchange_vehicleFrequency: Bool var accountClient_card_fieldsExchange_vehicleIntention: Bool var accountClient_card_fieldsExchange_vehicleRefinance: Bool var accountClient_card_fieldsExchange_vehicleRequested: Bool var accountClient_card_fieldsExchange_vehicleSold_date: Bool var accountClient_card_fieldsExchange_vehicleCategory_rv: Bool var accountClient_card_fieldsExchange_vehicleInstitution: Bool var accountClient_card_fieldsExchange_vehicleInitial_cash: Bool var accountClient_card_fieldsExchange_vehicleOffer_number: Bool var accountClient_card_fieldsExchange_vehicleTransmission: Bool var accountClient_card_fieldsExchange_vehicleDrivingWheels: Bool var accountClient_card_fieldsExchange_vehicleColor_exterior: Bool var accountClient_card_fieldsExchange_vehicleColor_interior: Bool var accountClient_card_fieldsExchange_vehicleAllowed_mileage: Bool var accountClient_card_fieldsExchange_vehicleSecurity_deposit: Bool var accountClient_card_fieldsExchange_vehicleEnd_contract_date: Bool var accountClient_number: Bool var accountConfirmation_appt: Bool var accountCredit: Bool var accountCsi: Bool var accountCsi_used: Bool var accountDefault_deliveryman_user_id: String? var accountDelivered_by: Bool var accountDisable_communication_audio: Bool var accountDuplicates: Bool var accountGuest_action: Bool var accountEmail_client: Bool var accountIn_turn: Bool var accountIn_turn_director_management: Bool var accountLeads_other_division: Bool var accountLeadxpress_optionPriority: Int var accountLeadxpress_optionReminderFrequency: Int var accountLeadxpress_optionReminderRecurrence: Int var accountLeadxpress_optionScheduleAccount: Bool var accountLeadxpress_optionScheduleAdvisor: Bool var accountLimited_audio_access: Bool var accountLogo: String? var accountLogo_en: String? var accountMandatory_coordinate: Bool var accountManually_status: Bool var accountMerge_rule: String? var accountMonth_start_day: Int var accountName: String? var accountNiotext: Bool var accountNiotext_phone: Bool var accountPhone: String? var accountPower_sport: Bool var accountProcess: Bool var accountRecreative_special: Bool var accountResult_date_validation: Bool var accountSale_accessories: Bool var accountSale_by_phone: Bool var accountSale_date_month: Bool var accountSale_table_optionsAccessory_column: Bool var accountSale_table_optionsCommercial_column: Bool var accountSale_table_optionsDivision_grouped_total_column: Bool var accountSale_validation: Bool var accountScan: Bool var accountStock_required_for_sale: Bool var accountTake_over_director: Bool var accountTrade_report: Bool var accountUnrestricted_assignment: Bool var accountUnsubscribe: Bool var accountUntreated_lead: Bool var accountVehicle_model_text: Bool var accountVehicle_text: Bool var accountVerified_sale: Bool var accountVin_decoder: Bool var accountWaiting_sale_date: String? var accountWaiting_sale_option: Bool var advisor: String? var j: Int var count_j: Int var lead_id: Int var address: String? var valid: Bool var extension: String? var number: String? var validated: Bool var mobile: Bool var accessories: String? var allowed_odometer: String? var balance: Int var budget_max: String? var budget_min: String? var cash_down: String? var category: String? var category_rv: String? var client_number: String? var color_exterior: String? var color_interior: String? var comment: String? var condition: String? var end_contract_date: String? var end_warranty_date: String? var engine: String? var extended_warranty: String? var fuel: String? var length_max: String? var length_min: String? var license_plate: String? var make: String? var modality: String? var model: String? var odometer: String? var offer_number: String? var v_option: String? var order_number: String? var payment: String? var payment_frequency: String? var preparation: String? var price: String? var profit: String? var purchase_date: String? var rate: String? var recall: String? var recorded_date: String? var residual: String? var security_deposit: String? var sleeping: String? var sold: Bool var sold_by: String? var sold_date: String? var stock: String? var stock_state: String? var term: String? var tire: Bool var transmission: String? var trim: String? var url: String? var value: String? var vin: String? var warranty: String? var weight: String? var year: String? var year_max: String? var year_min: String? linksFirst = jsonResponse.string(of: "links.first") linksLast = jsonResponse.string(of: "links.last") linksPrev = jsonResponse.string(of: "links.prev") linksNext = jsonResponse.string(of: "links.next") metaCurrent_page = jsonResponse.int(of: "meta.current_page").intValue metaFrom = jsonResponse.int(of: "meta.from").intValue metaLast_page = jsonResponse.int(of: "meta.last_page").intValue metaPath = jsonResponse.string(of: "meta.path") metaPer_page = jsonResponse.int(of: "meta.per_page").intValue metaTo = jsonResponse.int(of: "meta.to").intValue metaTotal = jsonResponse.int(of: "meta.total").intValue i = 0 count_i = jsonResponse.size(ofArray: "data").intValue while i < count_i { jsonResponse.i = i id = jsonResponse.int(of: "data[i].id").intValue created_at = jsonResponse.string(of: "data[i].created_at") updated_at = jsonResponse.string(of: "data[i].updated_at") account_id = jsonResponse.int(of: "data[i].account_id").intValue address_line1 = jsonResponse.string(of: "data[i].address_line1") address_line2 = jsonResponse.string(of: "data[i].address_line2") appointment_date = jsonResponse.string(of: "data[i].appointment_date") appt_call = jsonResponse.bool(of: "data[i].appt_call") available_date = jsonResponse.string(of: "data[i].available_date") average_spending = jsonResponse.string(of: "data[i].average_spending") be_back_date = jsonResponse.string(of: "data[i].be_back_date") birth_date = jsonResponse.string(of: "data[i].birth_date") business = jsonResponse.string(of: "data[i].business") call_date = jsonResponse.string(of: "data[i].call_date") city = jsonResponse.string(of: "data[i].city") civility = jsonResponse.string(of: "data[i].civility") code = jsonResponse.string(of: "data[i].code") country = jsonResponse.string(of: "data[i].country") csi_date = jsonResponse.string(of: "data[i].csi_date") delivered_by_id = jsonResponse.string(of: "data[i].delivered_by_id") delivered_date = jsonResponse.string(of: "data[i].delivered_date") delivery_date = jsonResponse.string(of: "data[i].delivery_date") division = jsonResponse.string(of: "data[i].division") end_service_date = jsonResponse.string(of: "data[i].end_service_date") first_name = jsonResponse.string(of: "data[i].first_name") gas = jsonResponse.string(of: "data[i].gas") gender = jsonResponse.int(of: "data[i].gender").intValue invoiced = jsonResponse.bool(of: "data[i].invoiced") last_name = jsonResponse.string(of: "data[i].last_name") last_visit_date = jsonResponse.string(of: "data[i].last_visit_date") locale = jsonResponse.string(of: "data[i].locale") loyalty = jsonResponse.string(of: "data[i].loyalty") next_visit_date = jsonResponse.string(of: "data[i].next_visit_date") odometer_last_visit = jsonResponse.string(of: "data[i].odometer_last_visit") open_work_order_date = jsonResponse.string(of: "data[i].open_work_order_date") planned_pick_up_date = jsonResponse.string(of: "data[i].planned_pick_up_date") postal_code = jsonResponse.string(of: "data[i].postal_code") prepaid = jsonResponse.string(of: "data[i].prepaid") prepared = jsonResponse.bool(of: "data[i].prepared") presented_date = jsonResponse.string(of: "data[i].presented_date") promised_date = jsonResponse.string(of: "data[i].promised_date") province = jsonResponse.string(of: "data[i].province") rating = jsonResponse.string(of: "data[i].rating") reached_client = jsonResponse.bool(of: "data[i].reached_client") refinanced_date = jsonResponse.string(of: "data[i].refinanced_date") repair_date = jsonResponse.string(of: "data[i].repair_date") repair_order = jsonResponse.string(of: "data[i].repair_order") result = jsonResponse.string(of: "data[i].result") road_test_date = jsonResponse.string(of: "data[i].road_test_date") sale_date = jsonResponse.string(of: "data[i].sale_date") second_contact = jsonResponse.string(of: "data[i].second_contact") second_contact_civility = jsonResponse.string(of: "data[i].second_contact_civility") segment = jsonResponse.string(of: "data[i].segment") service_cleaned = jsonResponse.bool(of: "data[i].service_cleaned") service_interval_km = jsonResponse.string(of: "data[i].service_interval_km") service_monthly_km = jsonResponse.string(of: "data[i].service_monthly_km") service_processIntention = jsonResponse.string(of: "data[i].service_process.intention") service_processTransport = jsonResponse.string(of: "data[i].service_process.transport") service_processWalk_around = jsonResponse.string(of: "data[i].service_process.walk_around") sex = jsonResponse.string(of: "data[i].sex") source = jsonResponse.string(of: "data[i].source") status = jsonResponse.string(of: "data[i].status") storage = jsonResponse.string(of: "data[i].storage") take_over_date = jsonResponse.string(of: "data[i].take_over_date") v_type = jsonResponse.string(of: "data[i].type") unsubscribe_all_date = jsonResponse.string(of: "data[i].unsubscribe_all_date") unsubscribe_call_date = jsonResponse.string(of: "data[i].unsubscribe_call_date") unsubscribe_email_date = jsonResponse.string(of: "data[i].unsubscribe_email_date") unsubscribe_sms_date = jsonResponse.string(of: "data[i].unsubscribe_sms_date") work_order = jsonResponse.string(of: "data[i].work_order") accountId = jsonResponse.int(of: "data[i].account.id").intValue accountCreated_at = jsonResponse.string(of: "data[i].account.created_at") accountUpdated_at = jsonResponse.string(of: "data[i].account.updated_at") accountPartner_id = jsonResponse.int(of: "data[i].account.partner_id").intValue accountActivity_report = jsonResponse.bool(of: "data[i].account.activity_report") accountCommercial = jsonResponse.bool(of: "data[i].account.commercial") accountEvent = jsonResponse.bool(of: "data[i].account.event") accountLeadxpress = jsonResponse.bool(of: "data[i].account.leadxpress") accountLoyalty = jsonResponse.bool(of: "data[i].account.loyalty") accountPhone_up = jsonResponse.bool(of: "data[i].account.phone_up") accountRenewal = jsonResponse.bool(of: "data[i].account.renewal") accountSale_table = jsonResponse.bool(of: "data[i].account.sale_table") accountService = jsonResponse.bool(of: "data[i].account.service") accountWalk_in = jsonResponse.bool(of: "data[i].account.walk_in") accountWebboost = jsonResponse.bool(of: "data[i].account.webboost") accountAccount_manager = jsonResponse.bool(of: "data[i].account.account_manager") accountActivation_date = jsonResponse.string(of: "data[i].account.activation_date") accountActive = jsonResponse.bool(of: "data[i].account.active") accountAssigned_lead = jsonResponse.bool(of: "data[i].account.assigned_lead") accountAuto_renewal = jsonResponse.bool(of: "data[i].account.auto_renewal") accountAuto_renewal_new = jsonResponse.bool(of: "data[i].account.auto_renewal_new") accountAuto_renewal_used = jsonResponse.bool(of: "data[i].account.auto_renewal_used") accountAutomation = jsonResponse.bool(of: "data[i].account.automation") accountBdc_advisor = jsonResponse.bool(of: "data[i].account.bdc_advisor") accountCalendar_options = jsonResponse.bool(of: "data[i].account.calendar_options") accountClient_card_fieldsProcessGas = jsonResponse.bool(of: "data[i].account.client_card_fields.process.gas") accountClient_card_fieldsProcessRecorded = jsonResponse.bool(of: "data[i].account.client_card_fields.process.recorded") accountClient_card_fieldsProcessAvailable = jsonResponse.bool(of: "data[i].account.client_card_fields.process.available") accountClient_card_fieldsProcessDiscounted = jsonResponse.bool(of: "data[i].account.client_card_fields.process.discounted") accountClient_card_fieldsCommercialProfit = jsonResponse.bool(of: "data[i].account.client_card_fields.commercial.profit") accountClient_card_fieldsCommercialExclude = jsonResponse.bool(of: "data[i].account.client_card_fields.commercial.exclude") accountClient_card_fieldsCommercialMeeting = jsonResponse.bool(of: "data[i].account.client_card_fields.commercial.meeting") accountClient_card_fieldsPerformanceDeposit = jsonResponse.bool(of: "data[i].account.client_card_fields.performance.deposit") accountClient_card_fieldsPerformanceRefinanced = jsonResponse.bool(of: "data[i].account.client_card_fields.performance.refinanced") accountClient_card_fieldsPerformanceDealer_tour = jsonResponse.bool(of: "data[i].account.client_card_fields.performance.dealer_tour") accountClient_card_fieldsPerformanceWalk_around = jsonResponse.bool(of: "data[i].account.client_card_fields.performance.walk_around") accountClient_card_fieldsPerformanceQualification = jsonResponse.bool(of: "data[i].account.client_card_fields.performance.qualification") accountClient_card_fieldsPerformanceTwenty_four_hour = jsonResponse.bool(of: "data[i].account.client_card_fields.performance.twenty_four_hour") accountClient_card_fieldsGeneral_infoBudget = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.budget") accountClient_card_fieldsGeneral_infoSector = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.sector") accountClient_card_fieldsGeneral_infoCustom_1 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_1") accountClient_card_fieldsGeneral_infoCustom_2 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_2") accountClient_card_fieldsGeneral_infoCustom_3 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_3") accountClient_card_fieldsGeneral_infoCustom_4 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_4") accountClient_card_fieldsGeneral_infoCustom_5 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_5") accountClient_card_fieldsGeneral_infoCustom_6 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_6") accountClient_card_fieldsGeneral_infoCustom_7 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_7") accountClient_card_fieldsGeneral_infoCustom_8 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_8") accountClient_card_fieldsGeneral_infoCustom_9 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_9") accountClient_card_fieldsGeneral_infoCustom_10 = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.custom_10") accountClient_card_fieldsGeneral_infoCommunication_preference = jsonResponse.bool(of: "data[i].account.client_card_fields.general_info.communication_preference") accountClient_card_fieldsWanted_vehicleVin = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.vin") accountClient_card_fieldsWanted_vehicleFuel = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.fuel") accountClient_card_fieldsWanted_vehicleRate = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.rate") accountClient_card_fieldsWanted_vehicleTerm = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.term") accountClient_card_fieldsWanted_vehicleTire = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.tire") accountClient_card_fieldsWanted_vehicleYear = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.year") accountClient_card_fieldsWanted_vehicleColor = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.color") accountClient_card_fieldsWanted_vehiclePrice = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.price") accountClient_card_fieldsWanted_vehicleStock = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.stock") accountClient_card_fieldsWanted_vehicleTotal = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.total") accountClient_card_fieldsWanted_vehicleBudget = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.budget") accountClient_card_fieldsWanted_vehicleEngine = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.engine") accountClient_card_fieldsWanted_vehicleLength = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.length") accountClient_card_fieldsWanted_vehicleProfit = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.profit") accountClient_card_fieldsWanted_vehicleSuffix = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.suffix") accountClient_card_fieldsWanted_vehicleWeight = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.weight") accountClient_card_fieldsWanted_vehicleComment = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.comment") accountClient_card_fieldsWanted_vehicleMileage = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.mileage") accountClient_card_fieldsWanted_vehiclePayment = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.payment") accountClient_card_fieldsWanted_vehicleBodyType = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.bodyType") accountClient_card_fieldsWanted_vehicleCategory = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.category") accountClient_card_fieldsWanted_vehicleModality = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.modality") accountClient_card_fieldsWanted_vehicleResidual = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.residual") accountClient_card_fieldsWanted_vehicleSleeping = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.sleeping") accountClient_card_fieldsWanted_vehicleWarranty = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.warranty") accountClient_card_fieldsWanted_vehicleFrequency = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.frequency") accountClient_card_fieldsWanted_vehicleAccessories = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.accessories") accountClient_card_fieldsWanted_vehicleCategory_rv = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.category_rv") accountClient_card_fieldsWanted_vehiclePreparation = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.preparation") accountClient_card_fieldsWanted_vehicleInitial_cash = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.initial_cash") accountClient_card_fieldsWanted_vehicleOffer_number = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.offer_number") accountClient_card_fieldsWanted_vehicleOrder_number = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.order_number") accountClient_card_fieldsWanted_vehicleTransmission = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.transmission") accountClient_card_fieldsWanted_vehicleDocumentation = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.documentation") accountClient_card_fieldsWanted_vehicleDrivingWheels = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.drivingWheels") accountClient_card_fieldsWanted_vehicleColor_exterior = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.color_exterior") accountClient_card_fieldsWanted_vehicleColor_interior = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.color_interior") accountClient_card_fieldsWanted_vehicleAllowed_mileage = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.allowed_mileage") accountClient_card_fieldsWanted_vehicleSecurity_deposit = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.security_deposit") accountClient_card_fieldsWanted_vehicleEnd_contract_date = jsonResponse.bool(of: "data[i].account.client_card_fields.wanted_vehicle.end_contract_date") accountClient_card_fieldsExchange_vehicleVin = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.vin") accountClient_card_fieldsExchange_vehicleFuel = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.fuel") accountClient_card_fieldsExchange_vehicleLink = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.link") accountClient_card_fieldsExchange_vehicleRate = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.rate") accountClient_card_fieldsExchange_vehicleTerm = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.term") accountClient_card_fieldsExchange_vehicleYear = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.year") accountClient_card_fieldsExchange_vehicleColor = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.color") accountClient_card_fieldsExchange_vehiclePrice = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.price") accountClient_card_fieldsExchange_vehicleStock = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.stock") accountClient_card_fieldsExchange_vehicleValue = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.value") accountClient_card_fieldsExchange_vehicleBudget = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.budget") accountClient_card_fieldsExchange_vehicleEngine = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.engine") accountClient_card_fieldsExchange_vehicleLength = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.length") accountClient_card_fieldsExchange_vehicleProfit = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.profit") accountClient_card_fieldsExchange_vehicleSuffix = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.suffix") accountClient_card_fieldsExchange_vehicleWeight = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.weight") accountClient_card_fieldsExchange_vehicleBalance = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.balance") accountClient_card_fieldsExchange_vehicleComment = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.comment") accountClient_card_fieldsExchange_vehicleMileage = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.mileage") accountClient_card_fieldsExchange_vehiclePayment = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.payment") accountClient_card_fieldsExchange_vehicleRenewal = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.renewal") accountClient_card_fieldsExchange_vehicleSold_by = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.sold_by") accountClient_card_fieldsExchange_vehicleBodyType = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.bodyType") accountClient_card_fieldsExchange_vehicleCategory = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.category") accountClient_card_fieldsExchange_vehicleModality = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.modality") accountClient_card_fieldsExchange_vehicleResidual = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.residual") accountClient_card_fieldsExchange_vehicleSleeping = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.sleeping") accountClient_card_fieldsExchange_vehicleWarranty = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.warranty") accountClient_card_fieldsExchange_vehicleCondition = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.condition") accountClient_card_fieldsExchange_vehicleFrequency = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.frequency") accountClient_card_fieldsExchange_vehicleIntention = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.intention") accountClient_card_fieldsExchange_vehicleRefinance = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.refinance") accountClient_card_fieldsExchange_vehicleRequested = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.requested") accountClient_card_fieldsExchange_vehicleSold_date = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.sold_date") accountClient_card_fieldsExchange_vehicleCategory_rv = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.category_rv") accountClient_card_fieldsExchange_vehicleInstitution = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.institution") accountClient_card_fieldsExchange_vehicleInitial_cash = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.initial_cash") accountClient_card_fieldsExchange_vehicleOffer_number = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.offer_number") accountClient_card_fieldsExchange_vehicleTransmission = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.transmission") accountClient_card_fieldsExchange_vehicleDrivingWheels = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.drivingWheels") accountClient_card_fieldsExchange_vehicleColor_exterior = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.color_exterior") accountClient_card_fieldsExchange_vehicleColor_interior = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.color_interior") accountClient_card_fieldsExchange_vehicleAllowed_mileage = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.allowed_mileage") accountClient_card_fieldsExchange_vehicleSecurity_deposit = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.security_deposit") accountClient_card_fieldsExchange_vehicleEnd_contract_date = jsonResponse.bool(of: "data[i].account.client_card_fields.exchange_vehicle.end_contract_date") accountClient_number = jsonResponse.bool(of: "data[i].account.client_number") accountConfirmation_appt = jsonResponse.bool(of: "data[i].account.confirmation_appt") accountCredit = jsonResponse.bool(of: "data[i].account.credit") accountCsi = jsonResponse.bool(of: "data[i].account.csi") accountCsi_used = jsonResponse.bool(of: "data[i].account.csi_used") accountDefault_deliveryman_user_id = jsonResponse.string(of: "data[i].account.default_deliveryman_user_id") accountDelivered_by = jsonResponse.bool(of: "data[i].account.delivered_by") accountDisable_communication_audio = jsonResponse.bool(of: "data[i].account.disable_communication_audio") accountDuplicates = jsonResponse.bool(of: "data[i].account.duplicates") accountGuest_action = jsonResponse.bool(of: "data[i].account.guest_action") accountEmail_client = jsonResponse.bool(of: "data[i].account.email_client") accountIn_turn = jsonResponse.bool(of: "data[i].account.in_turn") accountIn_turn_director_management = jsonResponse.bool(of: "data[i].account.in_turn_director_management") accountLeads_other_division = jsonResponse.bool(of: "data[i].account.leads_other_division") accountLeadxpress_optionPriority = jsonResponse.int(of: "data[i].account.leadxpress_option.priority").intValue accountLeadxpress_optionReminderFrequency = jsonResponse.int(of: "data[i].account.leadxpress_option.reminder.frequency").intValue accountLeadxpress_optionReminderRecurrence = jsonResponse.int(of: "data[i].account.leadxpress_option.reminder.recurrence").intValue accountLeadxpress_optionScheduleAccount = jsonResponse.bool(of: "data[i].account.leadxpress_option.schedule.account") accountLeadxpress_optionScheduleAdvisor = jsonResponse.bool(of: "data[i].account.leadxpress_option.schedule.advisor") accountLimited_audio_access = jsonResponse.bool(of: "data[i].account.limited_audio_access") accountLogo = jsonResponse.string(of: "data[i].account.logo") accountLogo_en = jsonResponse.string(of: "data[i].account.logo_en") accountMandatory_coordinate = jsonResponse.bool(of: "data[i].account.mandatory_coordinate") accountManually_status = jsonResponse.bool(of: "data[i].account.manually_status") accountMerge_rule = jsonResponse.string(of: "data[i].account.merge_rule") accountMonth_start_day = jsonResponse.int(of: "data[i].account.month_start_day").intValue accountName = jsonResponse.string(of: "data[i].account.name") accountNiotext = jsonResponse.bool(of: "data[i].account.niotext") accountNiotext_phone = jsonResponse.bool(of: "data[i].account.niotext_phone") accountPhone = jsonResponse.string(of: "data[i].account.phone") accountPower_sport = jsonResponse.bool(of: "data[i].account.power_sport") accountProcess = jsonResponse.bool(of: "data[i].account.process") accountRecreative_special = jsonResponse.bool(of: "data[i].account.recreative_special") accountResult_date_validation = jsonResponse.bool(of: "data[i].account.result_date_validation") accountSale_accessories = jsonResponse.bool(of: "data[i].account.sale_accessories") accountSale_by_phone = jsonResponse.bool(of: "data[i].account.sale_by_phone") accountSale_date_month = jsonResponse.bool(of: "data[i].account.sale_date_month") accountSale_table_optionsAccessory_column = jsonResponse.bool(of: "data[i].account.sale_table_options.accessory_column") accountSale_table_optionsCommercial_column = jsonResponse.bool(of: "data[i].account.sale_table_options.commercial_column") accountSale_table_optionsDivision_grouped_total_column = jsonResponse.bool(of: "data[i].account.sale_table_options.division_grouped_total_column") accountSale_validation = jsonResponse.bool(of: "data[i].account.sale_validation") accountScan = jsonResponse.bool(of: "data[i].account.scan") accountStock_required_for_sale = jsonResponse.bool(of: "data[i].account.stock_required_for_sale") accountTake_over_director = jsonResponse.bool(of: "data[i].account.take_over_director") accountTrade_report = jsonResponse.bool(of: "data[i].account.trade_report") accountUnrestricted_assignment = jsonResponse.bool(of: "data[i].account.unrestricted_assignment") accountUnsubscribe = jsonResponse.bool(of: "data[i].account.unsubscribe") accountUntreated_lead = jsonResponse.bool(of: "data[i].account.untreated_lead") accountVehicle_model_text = jsonResponse.bool(of: "data[i].account.vehicle_model_text") accountVehicle_text = jsonResponse.bool(of: "data[i].account.vehicle_text") accountVerified_sale = jsonResponse.bool(of: "data[i].account.verified_sale") accountVin_decoder = jsonResponse.bool(of: "data[i].account.vin_decoder") accountWaiting_sale_date = jsonResponse.string(of: "data[i].account.waiting_sale_date") accountWaiting_sale_option = jsonResponse.bool(of: "data[i].account.waiting_sale_option") advisor = jsonResponse.string(of: "data[i].advisor") j = 0 count_j = jsonResponse.size(ofArray: "data[i].emails").intValue while j < count_j { jsonResponse.j = j id = jsonResponse.int(of: "data[i].emails[j].id").intValue created_at = jsonResponse.string(of: "data[i].emails[j].created_at") updated_at = jsonResponse.string(of: "data[i].emails[j].updated_at") lead_id = jsonResponse.int(of: "data[i].emails[j].lead_id").intValue address = jsonResponse.string(of: "data[i].emails[j].address") v_type = jsonResponse.string(of: "data[i].emails[j].type") valid = jsonResponse.bool(of: "data[i].emails[j].valid") j = j + 1 } j = 0 count_j = jsonResponse.size(ofArray: "data[i].phones").intValue while j < count_j { jsonResponse.j = j id = jsonResponse.int(of: "data[i].phones[j].id").intValue created_at = jsonResponse.string(of: "data[i].phones[j].created_at") updated_at = jsonResponse.string(of: "data[i].phones[j].updated_at") lead_id = jsonResponse.int(of: "data[i].phones[j].lead_id").intValue extension = jsonResponse.string(of: "data[i].phones[j].extension") number = jsonResponse.string(of: "data[i].phones[j].number") v_type = jsonResponse.string(of: "data[i].phones[j].type") valid = jsonResponse.bool(of: "data[i].phones[j].valid") validated = jsonResponse.bool(of: "data[i].phones[j].validated") mobile = jsonResponse.bool(of: "data[i].phones[j].mobile") j = j + 1 } j = 0 count_j = jsonResponse.size(ofArray: "data[i].vehicles").intValue while j < count_j { jsonResponse.j = j id = jsonResponse.int(of: "data[i].vehicles[j].id").intValue created_at = jsonResponse.string(of: "data[i].vehicles[j].created_at") updated_at = jsonResponse.string(of: "data[i].vehicles[j].updated_at") lead_id = jsonResponse.int(of: "data[i].vehicles[j].lead_id").intValue accessories = jsonResponse.string(of: "data[i].vehicles[j].accessories") allowed_odometer = jsonResponse.string(of: "data[i].vehicles[j].allowed_odometer") balance = jsonResponse.int(of: "data[i].vehicles[j].balance").intValue budget_max = jsonResponse.string(of: "data[i].vehicles[j].budget_max") budget_min = jsonResponse.string(of: "data[i].vehicles[j].budget_min") cash_down = jsonResponse.string(of: "data[i].vehicles[j].cash_down") category = jsonResponse.string(of: "data[i].vehicles[j].category") category_rv = jsonResponse.string(of: "data[i].vehicles[j].category_rv") client_number = jsonResponse.string(of: "data[i].vehicles[j].client_number") color_exterior = jsonResponse.string(of: "data[i].vehicles[j].color_exterior") color_interior = jsonResponse.string(of: "data[i].vehicles[j].color_interior") comment = jsonResponse.string(of: "data[i].vehicles[j].comment") condition = jsonResponse.string(of: "data[i].vehicles[j].condition") end_contract_date = jsonResponse.string(of: "data[i].vehicles[j].end_contract_date") end_warranty_date = jsonResponse.string(of: "data[i].vehicles[j].end_warranty_date") engine = jsonResponse.string(of: "data[i].vehicles[j].engine") extended_warranty = jsonResponse.string(of: "data[i].vehicles[j].extended_warranty") fuel = jsonResponse.string(of: "data[i].vehicles[j].fuel") length_max = jsonResponse.string(of: "data[i].vehicles[j].length_max") length_min = jsonResponse.string(of: "data[i].vehicles[j].length_min") license_plate = jsonResponse.string(of: "data[i].vehicles[j].license_plate") make = jsonResponse.string(of: "data[i].vehicles[j].make") modality = jsonResponse.string(of: "data[i].vehicles[j].modality") model = jsonResponse.string(of: "data[i].vehicles[j].model") odometer = jsonResponse.string(of: "data[i].vehicles[j].odometer") offer_number = jsonResponse.string(of: "data[i].vehicles[j].offer_number") v_option = jsonResponse.string(of: "data[i].vehicles[j].option") order_number = jsonResponse.string(of: "data[i].vehicles[j].order_number") payment = jsonResponse.string(of: "data[i].vehicles[j].payment") payment_frequency = jsonResponse.string(of: "data[i].vehicles[j].payment_frequency") preparation = jsonResponse.string(of: "data[i].vehicles[j].preparation") price = jsonResponse.string(of: "data[i].vehicles[j].price") profit = jsonResponse.string(of: "data[i].vehicles[j].profit") purchase_date = jsonResponse.string(of: "data[i].vehicles[j].purchase_date") rate = jsonResponse.string(of: "data[i].vehicles[j].rate") recall = jsonResponse.string(of: "data[i].vehicles[j].recall") recorded_date = jsonResponse.string(of: "data[i].vehicles[j].recorded_date") residual = jsonResponse.string(of: "data[i].vehicles[j].residual") security_deposit = jsonResponse.string(of: "data[i].vehicles[j].security_deposit") sleeping = jsonResponse.string(of: "data[i].vehicles[j].sleeping") sold = jsonResponse.bool(of: "data[i].vehicles[j].sold") sold_by = jsonResponse.string(of: "data[i].vehicles[j].sold_by") sold_date = jsonResponse.string(of: "data[i].vehicles[j].sold_date") stock = jsonResponse.string(of: "data[i].vehicles[j].stock") stock_state = jsonResponse.string(of: "data[i].vehicles[j].stock_state") term = jsonResponse.string(of: "data[i].vehicles[j].term") tire = jsonResponse.bool(of: "data[i].vehicles[j].tire") transmission = jsonResponse.string(of: "data[i].vehicles[j].transmission") trim = jsonResponse.string(of: "data[i].vehicles[j].trim") v_type = jsonResponse.string(of: "data[i].vehicles[j].type") url = jsonResponse.string(of: "data[i].vehicles[j].url") value = jsonResponse.string(of: "data[i].vehicles[j].value") vin = jsonResponse.string(of: "data[i].vehicles[j].vin") warranty = jsonResponse.string(of: "data[i].vehicles[j].warranty") weight = jsonResponse.string(of: "data[i].vehicles[j].weight") year = jsonResponse.string(of: "data[i].vehicles[j].year") year_max = jsonResponse.string(of: "data[i].vehicles[j].year_max") year_min = jsonResponse.string(of: "data[i].vehicles[j].year_min") j = j + 1 } j = 0 count_j = jsonResponse.size(ofArray: "data[i].products").intValue while j < count_j { jsonResponse.j = j j = j + 1 } i = i + 1 } } |
© 2000-2024 Chilkat Software, Inc. All Rights Reserved.