diff options
author | William Carroll <wpcarro@gmail.com> | 2020-07-28T10·20+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-07-28T10·20+0100 |
commit | bb36dd1f9e7dfaa806fbda1317b9e53aed49b4ea (patch) | |
tree | ae0f648175d49203185ead819f7079df3bac052b /src/App.hs | |
parent | 502126243d221fc56345ccd7e4b72882f2128953 (diff) |
Define bespoke impls for {To,From}JSON instances
Instead of sending and receiving JSON like "accountUsername", which leaks implementation details and is a bit unwieldy, define custom instances that prefer the shorter, more user-friendly "username" version.
Diffstat (limited to 'src/App.hs')
0 files changed, 0 insertions, 0 deletions