【发布时间】:2018-03-26 11:26:16
【问题描述】:
我有一个如下的jsonarray:
[
{
"WarrantyGuarantee":{
"Row Id":"RA048",
"QuestionKey":"WarrantyGuarantee",
"Answer":"Y"
}
},
{
"RewardLoyalty":{
"Row Id":"RA051",
"QuestionKey":"RewardLoyalty",
"Answer":"Y"
}
},
{
"WarrantyGuarantee":{
"Row Id":"RA048",
"QuestionKey":"WarrantyGuarantee",
"Answer":"Y"
}
},
{
"RewardLoyalty":{
"Row Id":"RA051",
"QuestionKey":"RewardLoyalty",
"Answer":"Y"
}
},
{
"MinCost":{
"Row Id":"RA044",
"QuestionKey":"MinCost",
"Answer":"hgf"
}
}
]
我也有多个 json 对象:
{
"RA048":"Y",
"RA051":"Y"
}
和
{
"RA049":"Y",
"RA051":"N"
}
我想从上面的 jsonarray 中合并我所有的 json 对象。
【问题讨论】:
标签: android json android-json