NServiceBus/NServiceBus — pull request #165 by johannesg (2011-12-15 10:07:44+00:00)
Title: Improvements to the Json serializer

The following changes have been made:

1. Get rid of the $messagetype property and use standard $type to determine object type
2. Instead of using a custom converter with various hacks, use a custom SerializationBinder for serialization and a custom ContractResolver for deserialization.
3. Serialize dates in Iso format and retain DateTime kind
4. Added some more tests (or actually, more asserts)
5. Updated Json.Net to 4.0.5 (required for the ContractResolver to work)