issue in json ??
Posted: Tue Feb 18, 2014 10:18 am
Hi I noticed a difference in the json behaviour between 5.2 and 7.3.1
If i Use :
then in 5.2 globals.nav.programcheck and globals.nav.program are identical
If I do this in 7.3.1 they are not identical.
I also tried in 7.3.1
, same issue
Is this a bug ??
Regards,
Hans
If i Use :
- Code: Select all
globals.nav.programcheck = plugins.serialize.fromJSON(plugins.serialize.toJSON(globals.nav.program))
then in 5.2 globals.nav.programcheck and globals.nav.program are identical
If I do this in 7.3.1 they are not identical.
I also tried in 7.3.1
- Code: Select all
globals.nav.programcheck = JSON.parse(JSON.stringify(globals.nav.program))
, same issue
Is this a bug ??
Regards,
Hans