How to add an Array of Json Objects to a Json Object?

I edited to avoid confusion.
But there is no problem with code as it was.
If you explain your problem we might be able to help you out