@Override
        public JsonElement serialize(final Timestamp src, final Type typeOfSrc, final JsonSerializationContext context) {
            String dfString = format.format(new Date(src.getTime()));
            return new JsonPrimitive(dfString);
        }
Get JsonElement class type.

@param element the element
@return Class the class
shenyu-common/src/main/java/org/apache/shenyu/common/utils/GsonUtils.java