Flex Null Integer

前端 未结 4 785
無奈伤痛
無奈伤痛 2020-12-21 16:40

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 deser

4条回答
  •  無奈伤痛
    2020-12-21 17:22

    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

提交回复
热议问题