Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

JSON not serializing all members of my object...

Stanley, Eric

2010-03-08


Author LoginPost Reply
All, running latest and greatest S2, and trying to convert a

HashMap<String, ArrayList<ProjectManager>>

To a JSON result. its all setup right, and it is serializing, but it always sets 2 of the members in the ProjectManager List objects to null. The members are Strings, one containing a phone number, and the other containing an email address. I have triple checked that the action is properly populating the HashMap. And again, it does serialize everything but the email and tn.



The only thing I can think of is that the email and TN contain the '+' and the '@'<mailto:'@(protected) :)

-Ryan

________________________________
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
©2008 gg3721.com - Jax Systems, LLC, U.S.A.