从 Android 中的 API JSON 对象获取项目

问题描述 投票:0回答:0

我从 JSON 数组 获取项目时没有问题,使用 Retrofit2 和 Volley。

但是,我无法从 JSON 对象中获取项目,

喜欢这个API JSON代码:

{
"object":
{
  "item1": "A",
  "item2": "B"
}
}

API地址,我获取不到:

https://www.aparat.com/etc/api/video/videohash/rzKus

谢谢。

java android json retrofit2 android-volley
© www.soinside.com 2019 - 2024. All rights reserved.