Extract an enumerated type from a json value.
Convert a json string into an enum value.
enum Category { one, two } assert(JSONValue("one").fromJSON!Category == Category.one);
See Implementation
Extract an enumerated type from a json value.