How to serialize a Java class (into a string)?

  • Thread starter Catherina Svensson
  • Start date
C

Catherina Svensson

Assume I have a java class like:

public class VO {
String aaa = "aaa";
int bbb = 777;
boolean = true; }

How can I serialize this class into a string variable?

Cat
 
D

Daniel Pitts

Thanks for cross-posting instead of multi-posting, and thanks for
setting a followup-to.

Please note such in your message though, so people can look for the
complete conversation before replying. Not everybody sees the headers
for every message :)

Thanks.

x-posted to clj(h/p), follow-up to cljh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top