views:

294

answers:

1

Is there some library for flex, that will let me:

  • define properties to fully exclude from serialization
  • define classes to serialize without the property names (as if they were an array)

thanks...

+2  A: 

If you want to exclude a property from serialization you can use the [Transient] meta tag.

[Transient]
public var someVar:String;
maclema
ah ok, i thought that only worked for AMF, but it seems to work for JSON too http://code.google.com/p/as3corelib/issues/detail?id=110thanks
dimitri
What if the object in question is an instance of "Object" and not of any other subclass?
bug-a-lot