danidiaz / by-other-names

Give aliases to record fields

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow JSON deriving for any Rubric whose AliasType is Key

danidiaz opened this issue · comments

This would likely require generalized versions of JSONRecord, JSONSum and JSONEnum.

No sure how useful would this be. Perhaps it's enough to stick to the JSON rubric.

Perhaps it could be useful for defining ToJSON / FromJSON for a newtype without defining them for the underlying type...