Mutiple objects into a single document

Hi, i was wondering if its possible to store mutiple objects into a single document. For example, i have an anrraylist object called “Food” which is in JSON Format. Inside food, there is description about the food. Its possible to attach arraylist to a single document and retrieve it also?

Sure, you can put arbitrary JSON into a document.

Is there any examples code of this ?

Just set the ArrayList as the value of a document property.

Pretty much all our sample apps will show using collections as properties, I think.