我正在以
的形式从GET方法获得响应{数据:{“类型”:用户........“属性”:{“ isemailverified”:假.....} ....}
我想获取isemailverified
的值
我正在使用Retrofit来获取数据
useCaseFactory.getUserDomainModel().GetUser(userId, withDataArray, null, new Callback() {
@Override
public void onFailure(Call call, IOException e) {
System.out.println("ERROR: " + e.getMessage());
}
@Override
public void onResponse(Call call, Response response) throws IOException {
ResponseBody responseBody = response.body();
System.out.println(response.body().string());
}