News for hackers. Stuff that matters.
Re:Building a Command-Line Application with Crystal by name_for_now on Thursday March 23, 2017 @10:55PM (#13946241)
You can pass union types to the macro, so that should handle your "varying types" problem. In terms of nesting, I just create another struct with its own JSON.mapping and use that as the type for the field.

There are no comments on this comment yet.