Aeson decoding of JSON was replaced in #115. This PR is the equivalent for encoding/compiling. This frees us from Aeson's constraints such as an inability to produce non-minified output, however that can be addressed in another PR. As with the parsing, the replacement code is very small as we only need to know how to compile a single type.
Aeson decoding of JSON was replaced in #115. This PR is the equivalent for encoding/compiling. This frees us from Aeson's constraints such as an inability to produce non-minified output, however that can be addressed in another PR. As with the parsing, the replacement code is very small as we only need to know how to compile a single type.