1

我必须从 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 响应?我需要列出它们以供显示吗?

4

0 回答 0