log.error("can't parse call: " + data, e);
jsonRes = new JSONRPCResult(JSONRPCResult.CODE_ERR_PARSE, null, JSONRPCResult.MSG_ERR_PARSE);
}
// Write the response
JsonObjectWriter writer = new JsonObjectWriter(response.getWriter(), 3);
writer.write(jsonRes);
writer.flush();
JSONArray jsonArray = (JSONArray) jsonReq.get("params");
long millis = System.currentTimeMillis() - startTime;
log.debug("Command execution time: " + millis + " ms - class=" + jsonArray.toString());
}