Ahmed-Ali / JSONExport

JSONExport is a desktop application for Mac OS X which enables you to export JSON objects as model classes with their associated constructors, utility methods, setters and getters in your favorite language.
Other
4.79k stars 794 forks source link

转化Java for Android报错 #118

Open yinanwang1 opened 5 years ago

yinanwang1 commented 5 years ago

String的转化 taskId = jsonObject.opt("taskId");应该为 taskId = jsonObject.optString("taskId");