khellang/Nancy.Swagger — pull request #13 by liddellj (2014-07-23 09:52:24+00:00)
Title: Dictionary serialization fix

Fixes #11, although I'm not entirely happy with the approach.

SimpleJson handles IDictionary specifically. If you try to serialize a property of type IDIctionary you opt out of that. I could not see any obvious way to account for that besides changing the model properties to IDictionary - which is a bit shit.

Unless anyone knows a technique for handling this within the SerializerStrategy, then the only other option is to use an alternative serializer.