我从 Struts Action 获取 json 数据,如下所示: 我想在 JSP 页面中预先处理这些数据,但我尝试使用 .$each 或 attr,一切都不行,我使用 Json2.js JSON.stringfy() 获取这些数据,那么我如何获取其中的每个键和值呢?
[{"agreementNumber":"161446628","employeeIndicator":"N","enrollmentSrc":"363","fepIndicator":"N","groupCancelDate":null,"groupCancelDateTime":0,"groupCnlDate": "","groupEffDate":"20070701","groupEffectiveDate":{"date":1,"day":0,"hours":0,"minutes":0,"month":6,"seconds": 0,"time":1183262400000,"timezoneOffset":240,"year":107},"groupEffectiveDateTime":1183262400000,"groupName":"Westminster College","groupNumber":"01501701","index":"1 ","memberList":{"enrollmetSrc":"363","groupNumber":"01501701","memberList":[{"agreementNumber":"161446628","birthDate":{"date":10,"day":0,"hours":0,"minutes":0,"month":1,"秒":0,"time":-217450800000,"timezoneOffset":300,"year":63},"birthDateTime":-217450800000,"cancelDate":null,"cancelDateTime":0,"classCode":" I3 ","effectiveDate":{"date":1,"day":0,"hours":0,"minutes":0,"month":6,"seconds":0,"time":1183262400000," timezoneOffset":240,"year":107},"effectiveDateTime":1183262400000,"firstName":"KENNETH","gender":"M","groupName":"","groupNumber":"01501701 ","lastName":"ROMIG","medicareAdvantage":"","memberId":375315,"middleName":"J","pin":"1","preTtlName":"","relation" :"Self","relationCode":"1","sucTtlName":""},{"agreementNumber":"161446628","birthDate":{"date":23,"day":5,"hours" :0,"分钟":0,"月":7,"秒":0,"时间":-200692800000,"timezoneOffset":240,"年":63},"birthDateTime":-200692800000,"cancelDate ":null,"cancelDateTime":0,"classCode":"I3","effectiveDate":{"date":1,"day":0,"hours":0,"分钟":0,"月":6,"秒":0,"时间":1183262400000,"timezoneOffset":240,"年":107},"有效日期时间":1183262400000,"firstName":"KIMBERLY", "gender":"F","groupName":"","groupNumber":"01501701","lastName":"ROMIG","medicareAdvantage":"","memberId":1424959,"middleName":"G ","pin":"3","preTtlName":" ","relation":"Spouse","relationCode":"2","sucTtlName":" "},{"agreementNumber":"161446628", "birthDate":{"date":8,"day":1,"hours":0,"minutes":0,"month":0,"秒":0,"time":631774800000,"timezoneOffset":300,"year":90},"birthDateTime":631774800000,"cancelDate":null,"cancelDateTime":0,"classCode":"I3", "有效日期":{"日期":1,"天":0,"小时":0,"分钟":0,"月":6,"秒":0,"时间":1183262400000,"timezoneOffset" :240,"year":107},"effectiveDateTime":1183262400000,"firstName":"NICOLE","gender":"F","groupName":"","groupNumber":"01501701","lastName" :"CRUMBACHER ","medicareAdvantage":"","memberId":375314,"middleName":"A ","pin":"4","preTtlName":" ","relation":"Child","relationCode":"3","sucTtlName":" "},{"agreementNumber":"161446628","birthDate":{"date":7, "day":6,"hours":0,"minutes":0,"month":6,"seconds":0,"time":994478400000,"timezoneOffset":240,"year":101}," birthDateTime":994478400000,"cancelDate":null,"cancelDateTime":0,"classCode":"I3","effectiveDate":{"date":1,"day":0,"hours":0,"minutes ":0,"month":6,"seconds":0,"time":1183262400000,"timezoneOffset":240,"year":107},"effectiveDateTime":1183262400000,"firstName":"NATHAN","gender":"M","groupName":"","groupNumber":"01501701","lastName":"ROMIG","medicareAdvantage":"","memberId":1424960,"middleName ":"J","pin":"6","preTtlName":"","relation":"Child","relationCode":"3","sucTtlName":""}]},"ownerCode" :"HM"}]"relation":"Child","relationCode":"3","sucTtlName":""}]},"ownerCode":"HM"}]"relation":"Child","relationCode":"3","sucTtlName":""}]},"ownerCode":"HM"}]