class CustomLocalDateTimeSerializer extends StdSerializer<LocalDateTime> {

    @Override
    public void serialize(LocalDateTime value, JsonGenerator gen, SerializerProvider serializerProvider) {
        try {
            gen.writeString(formatter.format(value));
        } catch (IOException e) {
            throw new JsonParsingException(e);
        }
    }

    public  CustomLocalDateTimeSerializer();
    public  CustomLocalDateTimeSerializer(Class<LocalDateTime> t);

}