private final Cache<Class<?>, JsonSerializer<Object>> serializerCache = CacheBuilder.newBuilder().build();
InternalTypeSerializer(Class<T> baseClass, TypeIdResolver typeIdResolver)
{
super(baseClass);
this.typeSerializer = new AsPropertyTypeSerializer(typeIdResolver, null, typeProperty);
}