原文:JSON parse error: Can not construct instance of model.Class: no suitable constructor found

reference:http: blog.csdn.net qq article details 當類中沒有定義構造函數時,系統會指定給該類加上一個空參數的構造函數。這個是類中默認的構造函數。當類中如果自定義了構造函數,這時默認的構造函數就沒有了.so,我們要構造一個空的構造函數,函數名要與類名一樣。 ...

2018-01-04 11:49 0 6006 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM