class JsonHelperGson implements JsonHelper {

  @Override
  public <T> T parse(final String string, final Class<T> clazz) {
    try {
      if (StringUtils.isEmpty(string)) {
        return null;
      }
      return objectMapper.fromJson(string, clazz);
    } catch (Exception e) {
      throw handleException(e, "Json payload: " + string);
    }
  }

  public  JsonHelperGson();
  public  JsonHelperGson(Gson objectMapper);
  public  JsonHelperGson(Gson objectMapper, Gson prettyObjectMapper);

}