Mohsin26 / as3corelib

Automatically exported from code.google.com/p/as3corelib
0 stars 0 forks source link

JSON.encode should skip Transient properties #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add [Transient] metadata to a property on an object.
2. Call JSON.encode(object)

What is the expected output? What do you see instead?
Transient property is not excluded from the JSON string.

What version of the product are you using? On what operating system?
SVN HEAD

Please provide any additional information below.

Original issue reported on code.google.com by dasa.pad...@gmail.com on 19 Jun 2009 at 9:38

GoogleCodeExporter commented 9 years ago

Original comment by darron.schall on 8 Jul 2009 at 3:08

GoogleCodeExporter commented 9 years ago
Fixed in r92 - [Transient] metadata is now respected by the encoder.

Original comment by darron.schall on 8 Jul 2009 at 8:38

GoogleCodeExporter commented 9 years ago
Issue 116 has been merged into this issue.

Original comment by darron.schall on 15 Aug 2009 at 4:50

GoogleCodeExporter commented 9 years ago
Is this really fixed?
I just downloaded the latest version, added [Transient] to a property which 
holds a 
Sprite and serializing eats up tons of memory and CPU before crashing.
If I comment out the property holding the Sprite, all the other properties 
being 
Strings or Number, the serialization works fine.

Thanks a lot

Original comment by pierre.c...@gmail.com on 27 Feb 2010 at 9:25