public String generateCommand() throws JsonProcessingException {
    return MAPPER.writeValueAsString(this);
  }
Generates a command string from the request.

@return the command string
@throws JsonProcessingException if there is an error processing the JSON
ethereum/ethstats/src/main/java/org/hyperledger/besu/ethstats/request/EthStatsRequest.java