【发布时间】:2015-06-25 22:52:36
【问题描述】:
我需要解析以下 JSON 文本以获取我的 Android 应用程序标题(主标题)和标题(子标题)、描述、imageHref。
{
"title":"Flowers",
"rows":[
{
"title":"Azalea",
"description":"Beautiful large royal purple flowers adorn attractive satiny green leaves that turn orange/red in cold weather. Grows to up to 18 feet, or prune annually to shorten.",
"imageHref":"http://...../../b/california_snow.jpg"
},
{
"title":"Tibouchina",
"description":"Blooms in summer, 20-35 inches high. Fertilize regularly for best results. Full sun, drought tolerant.",
"imageHref":"http://...../../b/california_snow.jpg"
}
}
请帮我获取所需的代码。我正在使用 JSONparser。
【问题讨论】:
-
我们不是来帮你做家务的。