void JsonApiHandlerWS::processGetPlaylist(Params &jsonReq, const string &client_id) { decodeGetPlaylist(jsonReq, [=](json_t *jret) { sendJson("get_playlist", jret, client_id); }); }
void JsonApiHandlerHttp::processGetPlaylist() { decodeGetPlaylist(jsonParam, [=](json_t *jret) { sendJson(jret); }); }