BlackEdder / painlessjson

D library for converting any custom types to and from JSON the painless way.
Boost Software License 1.0
23 stars 3 forks source link

Added tests to see if Tuple works. #14

Closed Zalastax closed 9 years ago

Zalastax commented 9 years ago

I'll investigate. This works in my console.

Zalastax commented 9 years ago

I found a workaround for the compiler bug. This is also a lot nicer looking.

BlackEdder commented 9 years ago

Nice find! When I first got stuck on supporting classes I did wonder whether there was an easy way to test whether something was a class. I wish CTFE was a bit better documented in the official documentation :).