growl-for-windows
growl-for-windows copied to clipboard
Serialization of Notification (and other) object
Hi
I'm trying to forward growl notifications via XMPP protocol.
To do this, I need to serialize Notification object. One way is to use JSON
Serializer, but .NET serializer needs to object using empty constructor and
Notification class doesn't have such one. The second way is to use i.e.
BinaryFormatter but Notification class is not marked as Serializable.
So: mark Notification (Application and NotificationType also) classes as
Serializable or create empty constructor for this class or allow setting all
attributes (including MachineName and so on). Last thing should be done on
ExtensibleObject level.
Original issue reported on code.google.com by [email protected]
on 19 Apr 2012 at 9:52