You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An object o can have an internal public var myvar variable, and v:XML = classInfo.variable will correctly report it as a public variable, but o[ v.@name ] will fail because the variable is not available to us.
This can be fixed in a similar way to the check for Transient metadata. An internal variable or accessor with have a uri attribute set to "http://www.adobe.com/2006/flex/mx/internal":
// If property is declared as internal, skip itif ( v.@uri!=''&&String(v.@uri).indexOf( "internal" ) !=-1 )
{
continue;
}
An object
o
can have aninternal public var myvar
variable, andv:XML = classInfo.variable
will correctly report it as a public variable, buto[ v.@name ]
will fail because the variable is not available to us.This can be fixed in a similar way to the check for
Transient
metadata. An internal variable or accessor with have auri
attribute set to "http://www.adobe.com/2006/flex/mx/internal":I've implemented this on my fork: https://github.com/demauk/as3corelib/blob/master/src/com/adobe/serialization/json/JSONEncoder.as#L536
The text was updated successfully, but these errors were encountered: