开发者社区 问答 正文

struts2 json 中root [1].top是什么意思

struts2 json 中root [1].top 代码是这样的
action name="" class=""

   《 result type="json"  param name="root"   》 [1].top  《   /param 》 /result

展开
收起
杨冬芳 2016-07-07 10:14:48 2547 分享 版权
1 条回答
写回答
取消 提交回答
  • IT从业

    root是一个数组,访问索引为1的对象,这个对象里面有top字段

    2019-07-17 19:52:33
    赞同 展开评论
问答分类:
问答地址: