posted 9 years ago
Hello Everyone,
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 !!!