T - public interface SerializerResolver<T> extends SerializerOrResolver<T>
Serializer. This is used to support
generics and other semi-dynamic features.
Resolvers that use extra annotations to determine the serializer to use
should override getHints() to return an array of the annotations
it uses.
| Modifier and Type | Method and Description |
|---|---|
Serializer<T> |
find(TypeEncounter encounter)
Attempt to find a suitable serializer.
|
Set<Class<? extends Annotation>> |
getHints()
Get the hints this resolver uses.
|
Serializer<T> find(TypeEncounter encounter)
encounter - Set<Class<? extends Annotation>> getHints()
Copyright © 2016. All rights reserved.