E.g. JSON format as follows:
{ " ResultCode " : " 200 " , " reason " : " Query successful " , " the Result " : { " Area " : " Zhengzhou, Henan " , " LOCATION " : " Telecommunications " }, " ERROR_CODE " : 0 }
The first step: Copy the contents of the above json
Part II: Figure!
Direct will be in your class file, the emergence of a new Model
is not particularly convenient