Created
February 8, 2017 06:59
-
-
Save goreycn/7f46007ac3dae1d65bde5ea96280f688 to your computer and use it in GitHub Desktop.
Gson直接解析Bean数组
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArrayList<CityBean> cityList = HttpUtil.gson.fromJson(responseBody, new TypeToken<ArrayList<CityBean>>(){}.getType()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment