Handle nested JSON Arrays

0
Hi All,   My domain model looks like:   When I retrieve Agreements it comes through as a list but my question is how do I reach the next level (ie Special Events) via this list of Agreements as I cannot do it through associations. I have looked at other questions asked around this but they we were mostly talking about one level of array and not arrays within arrays. Can somebody please help? Note – I am using non-persistent entities.  
asked
1 answers
1

How are you planning on using this data?

One approach is to iterate over the list of Agreements in a loop. When you are in the loop you use the current iterated Agreement to retrieve the SpecialEvents for that Agreement.

Hope this helps.

answered