Convert JSON String to JSON Object and Parse all data

My question is:

How to send, with WebSocket, neested JSON file, and recreate the ArrayList in the Client.