Re: JSONInterceptor doesn't support Long/Short/Double... type.

2007-09-10 Thread joey
ok,i will try it. another suggestions:about the dateformat,now it was implemented by add json annotation to the write method of the property of date type.If no json annotation defined,it use JSONUtil.RFC3339_FORMAT. I thought it's great if the default format could be defined via configuration file

Re: JSONInterceptor doesn't support Long/Short/Double... type.

2007-09-10 Thread James Holmes
If you feel these should be supported, you can open a JIRA ticket for the issue. The ticket will be more likely to get attention if you supply a patch to implement the desired behavior. https://issues.apache.org/struts/browse/WW James On Mon Sep 10 6:00 , joey <[EMAIL PROTECTED]> sent: >if My

JSONInterceptor doesn't support Long/Short/Double... type.

2007-09-10 Thread joey
if My entity class has a property of type in (Long/Short/Double...),I get a Exception JSONExeption Incompatible types for property xxx. After read the code of JSONInterceptor ,I found it doesn't support these types which confused me.