I\'m using a specific game making framework but I think the question applies to javascript
I was trying to make a narration script so the player can see \"The orc hi
I also had same issue. I had bit complex object that I was pushing in to the array. What I did; I Convert JSON object as String using JSON.stringify() and push in to the Array.
When it is returning from the array I just convert that String to JSON object using JSON.parse().
This is working fine for me though it is bit far more round solution. Post here If you guys having alternative options