本文整理汇总了Java中com.fasterxml.jackson.databind.deser.BeanDeserializer类的典型用法代码示例。如果您正苦于以下问题:Java BeanDeserializer类的具体用法?Java BeanDeserializer怎么用?Java BeanDeserializer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BeanDeserializer类属于com.fasterxml.jackson.databind.deser包,在下文中一共展示了BeanDeserializer类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: EntityDeserializer
import com.fasterxml.jackson.databind.deser.BeanDeserializer; //导入依赖的package包/类
public EntityDeserializer(
Class<? extends AbstractEntity> entityClass,
BeanDeserializer defaultDeserializer,
Dao generalDao) {
super(defaultDeserializer);
this.entityClass = entityClass;
this.defaultDeserializer = defaultDeserializer;
this.generalDao = generalDao;
}
开发者ID:jmfgdev,项目名称:gitplex-mit,代码行数:11,代码来源:EntityDeserializer.java
示例2: modifyDeserializer
import com.fasterxml.jackson.databind.deser.BeanDeserializer; //导入依赖的package包/类
@Override
public JsonDeserializer<?> modifyDeserializer(DeserializationConfig config,
BeanDescription beanDesc,
JsonDeserializer<?> deserializer) {
if (deserializer instanceof BeanDeserializer) {
BeanDeserializer beanDeserializer = (BeanDeserializer) deserializer;
return new EntityBeanDeserializer(beanDeserializer, deserializer.getObjectIdReader());
}
return super.modifyDeserializer(config, beanDesc, deserializer);
}
开发者ID:requery,项目名称:requery,代码行数:11,代码来源:DeserializerModifier.java
示例3: setupModule
import com.fasterxml.jackson.databind.deser.BeanDeserializer; //导入依赖的package包/类
@Override
public void setupModule(SetupContext context) {
context.addBeanDeserializerModifier(new BeanDeserializerModifier() {
@Override
public JsonDeserializer<?> modifyDeserializer(DeserializationConfig config, BeanDescription beanDesc, JsonDeserializer<?> deserializer) {
if(deserializer instanceof BeanDeserializer) {
return new MigrationBeanDeserializer((BeanDeserializerBase) deserializer, migrationCurrentStack);
}
return deserializer;
}
});
}
开发者ID:ludup,项目名称:hypersocket-framework,代码行数:14,代码来源:MigrationImpExpModule.java
示例4: ThrowableDeserializer
import com.fasterxml.jackson.databind.deser.BeanDeserializer; //导入依赖的package包/类
public ThrowableDeserializer(BeanDeserializer paramBeanDeserializer)
{
super(paramBeanDeserializer);
this._vanillaProcessing = false;
}
开发者ID:mmmsplay10,项目名称:QuizUpWinner,代码行数:6,代码来源:ThrowableDeserializer.java
示例5: ExtensibleObjectDeserializer
import com.fasterxml.jackson.databind.deser.BeanDeserializer; //导入依赖的package包/类
public ExtensibleObjectDeserializer(BeanDeserializer src) {
super(src);
}
开发者ID:FamilySearch,项目名称:gedcomx-java,代码行数:4,代码来源:ExtensibleObjectDeserializer.java
示例6: modifyDeserializer
import com.fasterxml.jackson.databind.deser.BeanDeserializer; //导入依赖的package包/类
@Override
public JsonDeserializer<?> modifyDeserializer(DeserializationConfig config, BeanDescription beanDesc, JsonDeserializer<?> deserializer) {
return deserializer instanceof BeanDeserializer ? new ExtensibleObjectDeserializer((BeanDeserializer) deserializer) : deserializer;
}
开发者ID:FamilySearch,项目名称:gedcomx-java,代码行数:5,代码来源:GedcomBeanDeserializerModifier.java
示例7: ThrowableDeserializer
import com.fasterxml.jackson.databind.deser.BeanDeserializer; //导入依赖的package包/类
public ThrowableDeserializer(BeanDeserializer baseDeserializer)
{
super(baseDeserializer);
// need to disable this, since we do post-processing
_vanillaProcessing = false;
}
开发者ID:joyplus,项目名称:joyplus-tv,代码行数:7,代码来源:ThrowableDeserializer.java
注:本文中的com.fasterxml.jackson.databind.deser.BeanDeserializer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论