lowentry.ue4.libs.jackson.databind.KeyDeserializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lowentryue4 Show documentation
Show all versions of lowentryue4 Show documentation
A Java library for the Low Entry UE4 plugins.
package lowentry.ue4.libs.jackson.databind;
import java.io.IOException;
/**
* 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
{
/**
* Method called to deserialize a {@link java.util.Map} key from JSON property name.
*/
public abstract Object deserializeKey(String key, DeserializationContext ctxt)
throws IOException;
/**
* 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 lowentry.ue4.libs.jackson.databind.annotation.JsonDeserialize}.
*/
public abstract static class None
extends KeyDeserializer { }
}