Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package net.nemerosa.ontrack.json;
 
 
    @Override
    public void serialize(LocalDateTime valueJsonGenerator jgenSerializerProvider providerthrows IOException {
        if (value != null) {
            jgen.writeString(value.toInstant(.).toString());
        } else {
            jgen.writeNull();
        }
    }
New to GrepCode? Check out our FAQ X