function json_query($request_id, $params) { $jsonServer = new LegacyJsonServer(); echo $jsonServer->jsonQuery($request_id, $params); }