CyberShadow/ae — pull request #3 by AndrejMitrovic (2012-02-27 23:25:42+00:00)
Title: Implemet enum parsing for json module.

I've put the `static if (is(T==enum))` check in the first line of the templated `T read(T)()` function because enums tend to implicitly convert to other types (e.g. the `static if (is(T : long))` check could succeed and ae would attempt to call `readInt` instead of `readEnum`.

I've added the sample to that unittested struct and tested it. It seems to work ok. :)