我正在使用 JSON 调用获取数据并将其设置为不同的存储,现在我已经修改了 JSON 结构以满足另一个要求,即 ProgreesBar 数据。我是否必须为数据创建新的存储或模式,或者我可以从存储中获取它。
{
"data": [{
"firstRun": {
"progress": 0,
"settingList": [{
"settingName": "BoxTone Database Password",
"cssClass": "neutral",
"id": "linl_boxtone_db_passwoed"
}, {
"settingName": "Email Notification",
"cssClass": "fault",
"id": "email_notification_link"
}, {
"settingName": "User and Group Sync",
"cssClass": "neutral",
"id": "link_user_and_group_sync",
"listItem": [{
"settingName": "User and Group Sync from ActiveDirectory",
"cssClass": "neutral",
"id": "link_user_and_group_sync_ad",
"listItem": "AL"
}, {
"settingName": "Add Groups",
"cssClass": "neutral",
"id": "link_add_groups",
"listItem": "AL"
}]
}, {
"settingName": "ActiveSync Log Share",
"cssClass": "neutral",
"id": "link_activesync_log_share"
}]
},
"operate": {
"progress": 0.04,
"settingList": [{
"settingName": "SNMP Alerting",
"cssClass": "neutral",
"id": "lnk_snmp_alerting"
}, {
"settingName": "BlackBerry Servers",
"cssClass": "neutral",
"id": "lnk_BlackBerryServers",
"listItem": [{
"settingName": "BES 5.x Servers",
"cssClass": "neutral",
"id": "lnk_BESServers",
"listItem": "AL"
}, {
"settingName": "BES Logs",
"cssClass": "neutral",
"id": "lnk_BESLogs",
"listItem": "AL"
}, {
"settingName": "BES SNMP Alerting",
"cssClass": "neutral",
"id": "lnk_BESSNMPAlerting",
"listItem": "AL"
}]
}, {
"settingName": "Good For Enterprise (GFE) Servers",
"cssClass": "mixed",
"id": "gmServer",
"listItem": [{
"settingName": "GFE Good Messaging Control (GMC) Servers",
"cssClass": "fault",
"id": "gmcServer",
"listItem": "AL"
}, {
"settingName": "GFE Good Mobile Messaging (GMM) Servers",
"cssClass": "saved",
"id": "gmmServer",
"listItem": "AL"
}, {
"settingName": "GFE Load Balancing",
"cssClass": "neutral",
"id": "gfe_load_balancing",
"listItem": "AL"
}]
}, {
"settingName": "Good Dynamics Servers",
"cssClass": "neutral",
"id": "lnk_GoodDynamicsServers",
"listItem": [{
"settingName": "Good Control (GC) Servers",
"cssClass": "neutral",
"id": "lnk_GoodControlServers",
"listItem": "AL"
}]
}, {
"settingName": "Microsoft Exchange Activesync",
"cssClass": "neutral",
"id": "lnk_MicrosoftExchangeActivesync",
"listItem": [{
"settingName": "HTTP Error Logs",
"cssClass": "neutral",
"id": "lnk_HTTPErrorLogs",
"listItem": "AL"
}, {
"settingName": "BES",
"cssClass": "neutral",
"id": "lnk_BES",
"listItem": "AL"
}]
}]
}
}],
"success": true
}