?
1、listAttachment.*\.realName? 和 listAttachment.*? 效果一样,元素中所有的属性都json化了
?
?
?
"listAttachment":[{"encodedRealName":"%E8%AE%A1%E5%88%92%E4%BB%BB%E5%8A%A1%E4%B9%A6%E5%88%97%E8%A1%A820111223102409.xls","id":"408080b734892f930134896349510003","moduleId":"408080b734892f930134896348570002","moduleName":"inspect","realName":"计划任务书列表20111223102409.xls","storeName":"13251549125930.xls"},{"encodedRealName":"%E7%9B%91%E6%8E%A7%E7%82%B9%E6%8A%A5%E5%91%8A%E5%88%97%E8%A1%A820111229165330.xls","id":"408080b734892f930134896349710004","moduleId":"408080b734892f930134896348570002","moduleName":"inspect","realName":"监控点报告列表20111229165330.xls","storeName":"13251549126251.xls"},{"encodedRealName":"%E9%A1%B9%E7%9B%AE%E5%8F%98%E6%9B%B4%E5%88%97%E8%A1%A820111228204141.xls","id":"408080b734892f930134896349710005","moduleId":"408080b734892f930134896348570002","moduleName":"inspect","realName":"项目变更列表20111228204141.xls","storeName":"13251549126252.xls"},{"encodedRealName":"%E9%AA%8C%E6%94%B6%E8%AE%B0%E5%BD%95%E5%88%97%E8%A1%A820111228210938.xls","id":"408080b734892f930134896349900006","moduleId":"408080b734892f930134896348570002","moduleName":"inspect","realName":"验收记录列表20111228210938.xls","storeName":"13251549126403.xls"},{"encodedRealName":"%E9%AA%8C%E6%94%B6%E7%94%B3%E8%AF%B7%E5%88%97%E8%A1%A820111228211751.xls","id":"408080b734892f9301348963499f0007","moduleId":"408080b734892f930134896348570002","moduleName":"inspect","realName":"验收申请列表20111228211751.xls","storeName":"13251549126714.xls"}]
?
?
2、listAttachment\[\d+\]?? 仅仅是对象,对对象的属性不json化
?
?
?
"listAttachment":[{},{},{},{},{}]
?
?
3、listAttachment\[\d+\]\.realName 对指定的对象属性json化
?
?
?
?
"listAttachment":[{"realName":"计划任务书列表20111223102409.xls"},{"realName":"监控点报告列表20111229165330.xls"},{"realName":"项目变更列表20111228204141.xls"},{"realName":"验收记录列表20111228210938.xls"},{"realName":"验收申请列表20111228211751.xls"}]
?
4、listAttachment\.length??? 集合的length属性 不起作用,但可以json一个没有数据对象
?
listAttachment":[]