Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crashed,transform json to SwiftyJSON #134

Open
Jerryshen170918 opened this issue Apr 26, 2019 · 4 comments
Open

crashed,transform json to SwiftyJSON #134

Jerryshen170918 opened this issue Apr 26, 2019 · 4 comments

Comments

@Jerryshen170918
Copy link

屏幕快照 2019-04-26 上午11 43 32

@Jerryshen170918 Jerryshen170918 changed the title crashed,json to transform SwiftyJSON crashed,transform json to SwiftyJSON Apr 26, 2019
@Jerryshen170918
Copy link
Author

{ "data": { "contract_phone_number": "00200039", "remark": "同意OK", "identity_number": "00200039", "cooperative_id": 32755, "id": 11, "state": 1, "sales_id": 39, "email": "[email protected]", "dealer_id": 11, "bank_account": "00200039", "address": "asdfdsfad", "is_account_pay": "1", "currency_symbol": "USD", "area_code": "4303", "job_no": "00200039", "tax_revenue_no": "00200039", "contract_name": "00200039", "cooperative_name": "Cambodia", "dealer_img": [ "https://eshopsit.cooldays.cn/opt//usr/data/opt/eshop/dealer/aeca1c7229db50a8518667cafa02ce17.jpg" ], "sales_name": "test1", "name": "00200039", "business_license_img": [ "https://eshopsit.cooldays.cn/opt//usr/data/opt/eshop/dealer/7190d3c97655376854cba22757368e56.jpg" ], "phone_number": "1334305581284", "location": "39.90403,116.407525" }, "info": { "code": "200", "info": "请求成功" } }

@ifanchu
Copy link

ifanchu commented Sep 3, 2019

Hitting the same issue here.

@zdiovo
Copy link

zdiovo commented Oct 15, 2019

Me, too.

break point code:

// if needs cast
let cast = lang.basicTypesWithSpecialFetchingNeedsTypeCast[index] ...

Xode reports error info:

JSONExport[20076:844672] Metal API Validation Enabled
Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file JSONExport/FileRepresenter.swift

JSONExport[20076:844672] Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file JSONExport/FileRepresenter.swift

@JunsW
Copy link

JunsW commented Dec 24, 2020

#145 try this one. It fixed this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants