com.fasterxml.jackson.databind.JsonDeserializer.java Source code

Java tutorial

Introduction

Here is the source code for com.fasterxml.jackson.databind.JsonDeserializer.java

Source

package com.fasterxml.jackson.databind;

import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.deser.impl.ObjectIdReader;
import com.fasterxml.jackson.databind.jsontype.TypeDeserializer;
import com.fasterxml.jackson.databind.util.NameTransformer;
import java.util.Collection;

public abstract class JsonDeserializer<T> {
    public abstract T deserialize(JsonParser paramJsonParser, DeserializationContext paramDeserializationContext);

    public T deserialize(JsonParser paramJsonParser, DeserializationContext paramDeserializationContext, T paramT) {
        throw new UnsupportedOperationException("Can not update object of type " + paramT.getClass().getName());
    }

    public Object deserializeWithType(JsonParser paramJsonParser,
            DeserializationContext paramDeserializationContext, TypeDeserializer paramTypeDeserializer) {
        return paramTypeDeserializer.deserializeTypedFromAny(paramJsonParser, paramDeserializationContext);
    }

    public JsonDeserializer<?> getDelegatee() {
        return null;
    }

    public T getEmptyValue() {
        return getNullValue();
    }

    public Collection<Object> getKnownPropertyNames() {
        return null;
    }

    public T getNullValue() {
        return null;
    }

    public ObjectIdReader getObjectIdReader() {
        return null;
    }

    public boolean isCachable() {
        return false;
    }

    public JsonDeserializer<?> replaceDelegatee(JsonDeserializer<?> paramJsonDeserializer) {
        throw new UnsupportedOperationException();
    }

    public JsonDeserializer<T> unwrappingDeserializer(NameTransformer paramNameTransformer) {
        return this;
    }

    public static abstract class None extends JsonDeserializer<Object> {
    }
}

/* Location:           /Users/dantheman/src/fffffffffattttt/basis/classes_dex2jar.jar
 * Qualified Name:     com.fasterxml.jackson.databind.JsonDeserializer
 * JD-Core Version:    0.6.2
 */