Closed ghost closed 3 years ago
Hug can not simply return a string that contains json. Therefore the content of the files first has to converted to a JSON object. This commit also implements simple error handling in case the files do not exists or can not be created.
Closes: #14
Hug can not simply return a string that contains json. Therefore the content of the files first has to converted to a JSON object. This commit also implements simple error handling in case the files do not exists or can not be created.
Closes: #14