我是新来的JSON,我试图将字符串转换为JSON对象,我从这个链接得到了一个字符串 http://hawttrends.appspot.com/api/terms/ 我想将这个数据转换成Json对象,但在将数据转换为Json对象时我是出错。如何转换Android中的JSON数据?
Error given by compiler that can't convert string to json object。
我得到了一个字符串中的数据,但现在我不知道如何将这些数据转换成一个对象,请帮助我。
请发布您的代码。 –
使用杰克逊ModelMapper - > http://modelmapper.org/user-manual/jackson-integration/ – ggradnig
可能是这个我你正在寻找:https://stackoverflow.com/questions/9605913/how-to-parse- json-in-android – Shaun