BasicBeanDescription beanDesc = config.introspect(origType); JsonSerializer<?> ser = findSerializerFromAnnotation(config, beanDesc.getClassInfo(), property); if (ser != null) { if (type != origType && type.getRawClass() != origType.getRawClass()) { beanDesc = config.introspect(type);
@Override public JsonSerializer<?> findSerializer(final SerializationConfig config, final JavaType type, final BeanDescription beanDesc, final BeanProperty property) { final Class<?> raw = type.getRawClass(); if (fluentIterableClass.isAssignableFrom(raw)) { BasicBeanDescription basicBeanDescription = config.introspect(type); try { return BeanSerializerFactory.instance.findSerializerByAddonType(config, type, basicBeanDescription, property, false); } catch (JsonMappingException e) { // Had no luck - continue with super method } } return super.findSerializer(config, type, beanDesc, property); } };
BasicBeanDescription beanDesc = config.introspect(origType); JsonSerializer<?> ser = findSerializerFromAnnotation(config, beanDesc.getClassInfo(), property); if (ser != null) { if (type != origType && type.getRawClass() != origType.getRawClass()) { beanDesc = config.introspect(type);
BasicBeanDescription beanDesc = config.introspect(type); JsonSerializer<?> ser = findSerializerFromAnnotation(config, beanDesc.getClassInfo()); if (ser == null) {
BasicBeanDescription beanDesc = config.introspect(origType); JsonSerializer<?> ser = findSerializerFromAnnotation(config, beanDesc.getClassInfo(), property); if (ser != null) { if (type != origType && type.getRawClass() != origType.getRawClass()) { beanDesc = config.introspect(type);
BasicBeanDescription beanDesc = config.introspect(origType); JsonSerializer<?> ser = findSerializerFromAnnotation(config, beanDesc.getClassInfo(), property); if (ser != null) {
BasicBeanDescription beanDesc = config.introspect(origType); JsonSerializer<?> ser = findSerializerFromAnnotation(config, beanDesc.getClassInfo(), property); if (ser != null) {