summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorstuebinm2021-10-28 13:28:55 +0200
committerstuebinm2021-10-30 15:44:25 +0200
commitd2983b867a106ee0581d8dc1d8f413178cdd4027 (patch)
treed2368f38bf580544d8b19e7f3e9dba76630fdebe /.gitignore
parent9e3e10ae5f960d4e544a2792318c3fbf5c44d812 (diff)
make aeson instances agree with themselves
This cleans up all the old rubble that came from the Tiled package I originally took from hackage. It now uses generics instead of implementing all the ToJSON and FromJSON instances by hand, and (deserialize . serialise) will now actually return a (semantically) equivalent json. It'll now also reject keys that it doesn't know, which required adding some in several places which the tiled package didn't know about (or which were introduced after it was originally written, dunno). Several more Maybes are required now, to represent the difference between e.g. empty lists and on set value, which does make the code slightly weirder in other places …
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions