On Tue, 26 Aug 2014 00:33:19 GMT, David Monagle wrote:

  • Failing that, is there a reason we shouldn't modify the serialization code to recognise Nullable types?

In fact, the serialization code supports Nullable!T since a few weeks! (See https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/data/serialization.d#L222)

So in particular, starting from 0.7.21-alpha.2 your code should work as it is.