This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am trying to fetch the data from the database and then trying to set the values in the JSON document using ArrayList but i am not able to do that.
Lets say this is hard code JSON which i want to convert it into dynamic JSON
Now, to embed the JSON rows dynamically , i have used ArrayList as follows :Now i want to embed this collection into the JSON document. but not sure how to do this.
Please Guide me to get through this....Thanks !!!