Non-descriptive error messages when I mistype things in a json-file has buggered me for some time.
This PR fixes leaviates this somewhat by providing better error messages in the compilation output.
It also removes some existing duplication in the jsonreader.
Non-descriptive error messages when I mistype things in a json-file has buggered me for some time. This PR fixes leaviates this somewhat by providing better error messages in the compilation output. It also removes some existing duplication in the jsonreader.