On Aug 11, 6:14 am, Cam Spiers <camspi...@gmail.com> wrote:
> I also recommend using json2.js for anything more then just a basic
> key-value json string.


Another nice feature of json2.js is that you can use it to deeply
clone objects:

var orig = {....};
var clone = JSON.parse(JSON.stringify(orig));

i've found that really useful in avoiding cross-object references in
my JSON trees.

Reply via email to