Re: JSON plugin ignoring includeProperties parameter

2010-02-09 Thread Gadbury
Hi new2struts, Thank you very much for your time, investigation and explanation. This is very useful to know. All the best, James. -- View this message in context: http://old.nabble.com/JSON-plugin-ignoring-includeProperties-parameter-tp23660860p27511971.html Sent from the Struts - User mail

Re: JSON plugin ignoring includeProperties parameter

2009-09-01 Thread Gadbury
arroso wrote: > > Java regexes are greedy by default if I dont remember wrong, so you > should try something like: > > productCategoriesMap[.*?]\.name > > or > > productCategoriesMap\..*?\.name > > musachy > > On Tue, Sep 1, 2009 at 6:15 AM, Gadbury

RE: JSON plugin ignoring includeProperties parameter

2009-09-01 Thread Gadbury
Thank you. I shall check it out. I didn't know about it. Thank you, I shall check it out. However, I would still be interested to know if and how I can use includeProperties to specify properties of a bean in a map using the json plugin. Kind regards, James mgainty wrote: > > > did you

Re: JSON plugin ignoring includeProperties parameter

2009-09-01 Thread Gadbury
Hi, Sorry to jump a (dead?) thread but it's relevant to what I am trying to do and it made sense to put it in the same thread. I have the following HashMap: private Map> productCategoriesMap; in my includeProperties, productCategoriesMap.* populates the json with every property of the Category