我有这种JSON格式..并希望在UI中动态填充JSON数据而不使用密钥名称。
将来在JSON中添加新值时,键值应显示在UI中,而不在UI中给出任何硬编码值。请帮我解决这个问题。
非常感谢您的帮助。
[{
"Title": "card",
"items": [{
"count":8,
"name": "Documentation/Readme.md",
"SwaggedURL": "https;//card-dev.cfappstpanpz1.ebiz.ver1zon.com/swagger-ui.html",
"HealthCheckURL": " https://card-dev.cfappslpanpz1.ebiz.verQon.com/health",
"SecuredHealthCheckURL": " https://card-dev.cfappstpanpz1.ebiz.verizon.com:443/health",
"HostName": "card.dev.cfappstpanpz1.ebiz.verizon.com",
"Port": 8080,
"Status": "UP",
"UPTime": " 11458792473965 ms",
"Country":"India"
}]
}, {
"Title": "card-details",
"items": [{
"count":8,
"name": "Documentation/Readme.md",
"SwaggedURL": "https;//card-dev.cfappstpanpz1.ebiz.ver1zon.com/swagger-ui.html",
"HealthCheckURL": " https://card-dev.cfappslpanpz1.ebiz.verQon.com/health",
"SecuredHealthCheckURL": " https://card-dev.cfappstpanpz1.ebiz.verizon.com:443/health",
"HostName": "card.dev.cfappstpanpz1.ebiz.verizon.com",
"Port": 8080,
"Status": "UP",
"UPTime": " 11458792473965 ms"
}]
}, {
"Title": "equipment-rack",
"items": [{
"count":8,
"name": "Documentation/Readme.md",
"SwaggedURL": "https;//card-dev.cfappstpanpz1.ebiz.ver1zon.com/swagger-ui.html",
"HealthCheckURL": " https://card-dev.cfappslpanpz1.ebiz.verQon.com/health",
"SecuredHealthCheckURL": " https://card-dev.cfappstpanpz1.ebiz.verizon.com:443/health",
"HostName": "card.dev.cfappstpanpz1.ebiz.verizon.com",
"Port": 8080,
"Status": "UP",
"UPTime": " 11458792473965 ms"
}]
}, {
"Title": "equipment-shelf",
"items": [{
"count":8,
"name": "Documentation/Readme.md",
"SwaggedURL": "https;//card-dev.cfappstpanpz1.ebiz.ver1zon.com/swagger-ui.html",
"HealthCheckURL": " https://card-dev.cfappslpanpz1.ebiz.verQon.com/health",
"SecuredHealthCheckURL": " https://card-dev.cfappstpanpz1.ebiz.verizon.com:443/health",
"HostName": "card.dev.cfappstpanpz1.ebiz.verizon.com",
"Port": 8080,
"Status": "UP",
"UPTime": " 11458792473965 ms"
}]
}, {
"Title": "equip-tplf-create",
"items": [{
"count":8,
"name": "Documentation/Readme.md",
"SwaggedURL": "https;//card-dev.cfappstpanpz1.ebiz.ver1zon.com/swagger-ui.html",
"HealthCheckURL": " https://card-dev.cfappslpanpz1.ebiz.verQon.com/health",
"SecuredHealthCheckURL": " https://card-dev.cfappstpanpz1.ebiz.verizon.com:443/health",
"HostName": "card.dev.cfappstpanpz1.ebiz.verizon.com",
"Port": 8080,
"Status": "UP",
"UPTime": " 11458792473965 ms"
}]
}, {
"Title": "inventory-equip-search",
"items": [{
"count":8,
"name": "Documentation/Readme.md",
"SwaggedURL": "https;//card-dev.cfappstpanpz1.ebiz.ver1zon.com/swagger-ui.html",
"HealthCheckURL": " https://card-dev.cfappslpanpz1.ebiz.verQon.com/health",
"SecuredHealthCheckURL": " https://card-dev.cfappstpanpz1.ebiz.verizon.com:443/health",
"HostName": "card.dev.cfappstpanpz1.ebiz.verizon.com",
"Port": 8080,
"Status": "UP",
"UPTime": " 11458792473965 ms"
}]
}, {
"Title": "port",
"items": [{
"count":8,
"name": "Documentation/Readme.md",
"SwaggedURL": "https;//card-dev.cfappstpanpz1.ebiz.ver1zon.com/swagger-ui.html",
"HealthCheckURL": " https://card-dev.cfappslpanpz1.ebiz.verQon.com/health",
"SecuredHealthCheckURL": " https://card-dev.cfappstpanpz1.ebiz.verizon.com:443/health",
"HostName": "card.dev.cfappstpanpz1.ebiz.verizon.com",
"Port": 8080,
"Status": "UP",
"UPTime": " 11458792473965 ms"
}]
}]