class JsonSerializationOkHttp implements JsonSerialization {

  @Override
  public Transaction jsonToTransaction(String json) {
    Validate.notNull(json, "Json must not be null");
    return generalTransactionMapper.mapFromDto(jsonHelper.parse(json, TransactionInfoDTO.class));
  }

  public  JsonSerializationOkHttp(Gson objectMapper);

}