Flex Null Integer
问题 I take data from Java to Flex by AMF (BlazeDS) In java side object has Integer field. So it can be null. In Flex side object is int. So null values are deserialized as 0. This is not what I want, I want to see whether it is 0 or null. Is there wrapper like (Integer in Java) for Flex? Thanks 回答1: As far as I can tell, there is no such wrapper. You can write one that assigns NaN to the internal int if the argument to the constructor is null 回答2: We solved this by creating a BeanProxy class