Top Description Inners Constructors Methods
tools.jackson.databind

public abstract Class KeyDeserializer

extends Object
Class Inheritance
Known Direct Subclasses
tools.jackson.databind.KeyDeserializer.None, tools.jackson.databind.deser.jdk.JDKKeyDeserializer, tools.jackson.databind.deser.jdk.JDKKeyDeserializer.DelegatingKD, tools.jackson.databind.ext.javatime.deser.key.Jsr310KeyDeserializer
Imports
tools.jackson.core.JacksonException

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.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
KeyDeserializer.None

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract Object
deserializeKey(String key, DeserializationContext ctxt)

Method called to deserialize a java.util.Map key from JSON property name.

public void
resolve(DeserializationContext
Context to use for accessing configuration, resolving secondary deserializers
ctxt
)

Method called after deserializer instance has been constructed (and registered as necessary by provider objects), but before it has returned it to the caller.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

KeyDeserializerback to summary
public KeyDeserializer()

Method Detail

deserializeKeyback to summary
public abstract Object deserializeKey(String key, DeserializationContext ctxt) throws JacksonException

Method called to deserialize a java.util.Map key from JSON property name.

resolveback to summary
public void resolve(DeserializationContext ctxt) throws JacksonException

Method called after deserializer instance has been constructed (and registered as necessary by provider objects), but before it has returned it to the caller. Called object can then resolve its dependencies to other types, including self-references (direct or indirect).

Parameters
ctxt:DeserializationContext

Context to use for accessing configuration, resolving secondary deserializers

tools.jackson.databind back to summary

public abstract Class KeyDeserializer.None

extends KeyDeserializer
Class Inheritance

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 tools.jackson.databind.annotation.JsonDeserialize.

Constructor Summary

AccessConstructor and Description
public
None()

Method Summary

Inherited from tools.jackson.databind.KeyDeserializer:
deserializeKeyresolve

Constructor Detail

Noneback to summary
public None()