JsonProcessor and GUIDs being NULL

Topics: Web Api
Mar 20, 2011 at 8:46 PM


when GUIDs are NULL the JsonProcessor throws an SerializationException being caused by the DataContractJsonSerializer: "ValueType 'System.Guid' cannot be null."

This forces consumers of the WCF HTTP REST Services to create at least an empty GUID which I think may confuse the people.