J
Julia
How to serialize and object to use as a parameter in a URL?
Hi,
I need to serialize an object in such a way that it can be passed as
parameter in a URL
http://www.domain.com?object=%d793btng....
I did some reading and I came to the conclusion that I need to create a
custom formatter and implements the IFormatter interface
the problem is that I don't quit know how to implements the
IFormatter.Serialize function
1.How do I get the attribute of each property?
2.How can i get all properties,i guess I need to use reflection?
2.How do I track the object which already Serialized(assuming the object
contains other objects)
Note that I cannot use binary formatter or other,since the code which do the
deserialization is a client side java script
thanks in advance.
Hi,
I need to serialize an object in such a way that it can be passed as
parameter in a URL
http://www.domain.com?object=%d793btng....
I did some reading and I came to the conclusion that I need to create a
custom formatter and implements the IFormatter interface
the problem is that I don't quit know how to implements the
IFormatter.Serialize function
1.How do I get the attribute of each property?
2.How can i get all properties,i guess I need to use reflection?
2.How do I track the object which already Serialized(assuming the object
contains other objects)
Note that I cannot use binary formatter or other,since the code which do the
deserialization is a client side java script
thanks in advance.