I think it would make more sense to use annotations on the beans instead of doing name based matching. That way you're always explicit in what you export and don't have problems like this.
On Fri, Oct 10, 2008 at 12:55 PM, Aleksey Perfilov <[EMAIL PROTECTED]>wrote: > > Hi all, > > I¹ve had problems using BeanJsonConverter on objects that contain getters > that have 1 or more arguments. > Since convertMethodsToJson() expects not to see any arguments on getters, > invoke() will crash on getters that have some. > > Do you think we should adjust getMatchingMethods() to filter out getters > that require parameters? Or just skip those getters in > convertMethodsToJson(). > I think it is reasonable to assume we don¹t need those for conversion > purposes. > > Thanks, > > Aleksey > >

