EmmaClient is a client-server system for publishing liveresults from Orienteering events. It have been used on many major events such as JWOC, WOC, EOC,..
The JSON parsing in the web/api.php is done manually, which might lead to non-parseable JSON being served by the API. I propose re-writing the API to utilise json_encode instead. I will do it myself and submit a PR, but it would be a bit of work so just checking there isn't a reason for the API being built this way.
The JSON parsing in the
web/api.php
is done manually, which might lead to non-parseable JSON being served by the API. I propose re-writing the API to utilisejson_encode
instead. I will do it myself and submit a PR, but it would be a bit of work so just checking there isn't a reason for the API being built this way.Example:
Would like to hear from you @petlof 😃