All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.jackson.map.KeyDeserializer Maven / Gradle / Ivy

Go to download

Data Mapper package is a high-performance data binding package built on Jackson JSON processor

There is a newer version: 1.9.13
Show newest version
package org.codehaus.jackson.map;

import java.io.IOException;

import org.codehaus.jackson.*;

/**
 * Abstract class that defines API used for deserializing Json content
 * field names into Java Map keys. These deserializers are only used
 * if the Map key class is not String or Object.
 */
public abstract class KeyDeserializer
{
    public abstract Object deserializeKey(String key, DeserializationContext ctxt)
        throws IOException, JsonProcessingException;

    /**
     * This marker class is only to be used with annotations, to
     * indicate that no deserializer is configured.
     *

* Specifically, this class is to be used as the marker for * annotation {@link org.codehaus.jackson.map.annotate.JsonDeserialize}. * * @since 1.3 */ public abstract static class None extends KeyDeserializer { } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy