【发布时间】:2019-01-07 22:02:21
【问题描述】:
如何解析下面的json数组,我的目标是传递没有值的对象?
我尝试使用他们的键返回 json 对象,但我的问题是如何在 textview 中显示没有键的 json?
[
[
"Why are teachers being paid poorly?",
{
"answer": "minimum wage is 30,000",
"candidate": "Nnamdi kalu"
},
"what is the minimum wage for teachers?",
{
"answer": "net worth is $200,000",
"candidate": "Nnamdi kalu"
},
{
"answer": "Teachers minimum wage is $200,000",
"candidate": "Nnamdi kalu"
},
"What can you do to improve the Agriculture section?",
"why do you delay in salary payment and how do you intend to solve late payment of salary?",
"Checking if i can ask you more questions, can i ?",
"What can you do to improve the football game?",
"what is your name",
"what are your agenda",
"What can you do to help young entrepreneurs?"
]
]
希望以测验应用程序的形式显示数据?
【问题讨论】:
标签: java android json android-studio