That's what I meant. If it's public, it has to go into the serialised
version in case the other end doesn't know it's computed.
Tom
On 03/02/2014 15:26, Maurice Amsellem wrote:
It's a public property. Just happens not to be changeable ?
No it's a getter-only prop, something like
public function get surface():Number {
return width*height;
}
-----Message d'origine-----
De : Tom Chiverton [mailto:[email protected]]
Envoyé : lundi 3 février 2014 15:08
À : [email protected]
Objet : Re: Flex JSON and getters
On 03/02/2014 14:43, Maurice Amsellem wrote:
Does someone know why JSON's stringify also processes read-only properties
(that is, getter without setter) ?
It's a public property. Just happens not to be changeable ?
Tom
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________