Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
name_for_now
· 9y ago · 0 comments
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.
Comments
No comments yet.
Better HN