Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.fasterxml.jackson.databind
Class KeyDeserializer

    java.lang.Object
      com.fasterxml.jackson.databind.KeyDeserializer

Direct Known Subclasses:
  KeyDeserializer.None, StdKeyDeserializer

    public abstract class KeyDeserializer

extends Object

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 Class Summary
`static class` | `KeyDeserializer.None` This marker class is only to be used with annotations, to indicate that no deserializer is configured.

Constructor Summary
`KeyDeserializer()`

Method Summary
`abstract Object` | `deserializeKey(String key, DeserializationContext ctxt)` Method called to deserialize a `Map` key from JSON property name.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### KeyDeserializer

    public KeyDeserializer()

Method Detail

### deserializeKey

    public abstract Object deserializeKey(String key,
                                          DeserializationContext ctxt)
                                   throws IOException,
                                          com.fasterxml.jackson.core.JsonProcessingException

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

  Throws:
    `IOException`
    `com.fasterxml.jackson.core.JsonProcessingException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 fasterxml.com. All Rights Reserved.