Automatic convertion of Beans to Javascript objects?

Ray Hilton <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <44845728.6040508__41608.3757569597$1149523783$gmane$org@wirestorm.net>
Hi,

I don't suppose anyone knows if there is a simple (i.e. easy) way to 
convert simple properties-only java bean to a javascript object?  the 
quickest way I can think of would be serialize the object as a JSON 
string, and eval it in javascript, but maybe there is a nicer way?

Thanks,
Ray
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.