Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.deser.std;
 
 
As per [JACKSON-484], also need special handling for InetAddress...
    private static final long serialVersionUID = 1L;
    public final static InetAddressDeserializer instance = new InetAddressDeserializer();
    public InetAddressDeserializer() { super(InetAddress.class); }
    @Override
    protected InetAddress _deserialize(String valueDeserializationContext ctxt)
        throws IOException
    {
        return InetAddress.getByName(value);
    }
New to GrepCode? Check out our FAQ X