Closed JTeeuwissen closed 2 years ago
Is there a reason that we create our own JSON parser instead of using an existing one like Aeson?
Is there a reason that we create our own JSON parser instead of using an existing one like Aeson?
Yes, although JsonLogic with Aeson is fine. Especially when already using Aeson. It can be a lot of overhead for a simpler project. This functionality is nice for demos without having to rely on a relatively big package.
I think it might be better to put the JSON parsing in a separate file.
I think it might be better to put the JSON parsing in a separate file.
I wanted to do so, but that would make it an orphan instance. And moving just the parsing (not the instance) causes circular dependencies.
resolves #84