Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.ser.std;
 
 
public class SqlTimeSerializer
    public SqlTimeSerializer() { super(java.sql.Time.class); }
    @Override
    public void serialize(java.sql.Time valueJsonGenerator jgenSerializerProvider provider)
        throws IOExceptionJsonGenerationException
    {
        jgen.writeString(value.toString());
    }
    @Override
    public JsonNode getSchema(SerializerProvider providerType typeHint)
    {
        return createSchemaNode("string"true);
    }
    
    @Override
    public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitorJavaType typeHint)
    {
    }
New to GrepCode? Check out our FAQ X