@Override
 public StackTraceElement deserialize(
     JsonElement json, Type typeOfT, JsonDeserializationContext context)
     throws JsonParseException {
   JsonObject jsonObj = json.getAsJsonObject();
   return new StackTraceElement(
       JsonUtils.getAsString(jsonObj, "className"),
       JsonUtils.getAsString(jsonObj, "method"),
       JsonUtils.getAsString(jsonObj, "file"),
       JsonUtils.getAsInt(jsonObj, "line", -1));
 }