php-tracks-recorder
php-tracks-recorder copied to clipboard
Remove double JSON encoding of markers
I noticed that markers are JSON encoded twice by rpc.php
. This looks unnecessary and makes it harder to consume the data from the API.
This PR proposes to remove the extra JSON encoding of markers.
I don't have all the context for why this is the case. So feel free to ignore if there is a use case for JSON encoding markers twice.