• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

manual serialization in java ?

 
anchit pancholi
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

if i don't want to implement Serializable interface then is there any way i can serialize object ?
how can we manual serialize the object ?

Thanks
Anchit
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
perhaps, xstream .
 
Ivan Jozsef Balazs
Rancher
Posts: 972
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anchit pancholi wrote:
how can we manual serialize the object ?


What do exactly mean by "serialize the object" ?

In the stricter (technical) sense, serialization is the given mechanism built into Java which is "triggered" for a class by its implementing the marker interface Serializable.

If you mean something different (in the broader sense), you have to write it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic