我必须从Spring MVC / Spring Maven项目中调用Rest API,它具有以下响应JSON:
Content-Type: application/wrml
{
parent-repository: {parent-repositoryId}
type: {repository-type}
object-types: {object-typeId-list}
children
{
{repositoryId1}
{
type: {repository-type1}
object-types: {object-typeId-list}
children
{
…
}
}
…
{repositoryIdN}
{
type: {repository-typeN}
object-types: {object-typeId-list}
children
{
…
}
}
}
}
响应是搜索的存储库。如何在JSP中显示Parent及其Children的响应?我是否需要列出它们才能显示?