Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.clustermate.json;
 
 
 
    public StorableKeyDeserializer() {
        super(StorableKey.class);
    }
    @Override
            throws IOExceptionJsonProcessingException
    {
        switch (jp.getCurrentToken()) {
        case :
        case :
            byte[] raw = jp.getBinaryValue();
            return new StorableKey(raw);
        default:
            throw ctxt.mappingException(getValueClass(), jp.getCurrentToken());
        }
    }
New to GrepCode? Check out our FAQ X