At this moment ToJSON instances leak a lot of internal info.
Some of them look very ugly (e.g. EntryPath).
Solution
Used deriveToJSON (aesonPrefix camelCase) to derive some instances.
QualifiedPathToJSON instance is handcrafted. Also removed unnecessary
FromJSON instances.
Related issue(s)
Fixes #82
Fixed #
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
[ ] If I added new functionality, I added tests covering it.
[ ] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[x] I checked whether I should update the docs and did so if necessary:
Description
Problem
At this moment
ToJSON
instances leak a lot of internal info. Some of them look very ugly (e.g.EntryPath
).Solution
Used
deriveToJSON (aesonPrefix camelCase)
to derive some instances.QualifiedPath
ToJSON
instance is handcrafted. Also removed unnecessaryFromJSON
instances.Related issue(s)
Fixed #
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)