/** * Method for enabling automatic inclusion of type information, using * specified handler object for determining which types this affects, * as well as details of how information is embedded. * * @param typer Type information inclusion handler * * */ public ObjectMapper setDefaultTyping(TypeResolverBuilder<?> typer) { _deserializationConfig = _deserializationConfig.withTypeResolverBuilder(typer); _serializationConfig = _serializationConfig.withTypeResolverBuilder(typer); return this; }
/** * Method for enabling automatic inclusion of type information, using * specified handler object for determining which types this affects, * as well as details of how information is embedded. * * @param typer Type information inclusion handler * * */ public ObjectMapper setDefaultTyping(TypeResolverBuilder<?> typer) { _deserializationConfig = _deserializationConfig.withTypeResolverBuilder(typer); _serializationConfig = _serializationConfig.withTypeResolverBuilder(typer); return this; }
/** * Method for enabling automatic inclusion of type information, using * specified handler object for determining which types this affects, * as well as details of how information is embedded. * * @param typer Type information inclusion handler * * */ public ObjectMapper setDefaultTyping(TypeResolverBuilder<?> typer) { _deserializationConfig = _deserializationConfig.withTypeResolverBuilder(typer); _serializationConfig = _serializationConfig.withTypeResolverBuilder(typer); return this; }
/** * Method for enabling automatic inclusion of type information, using * specified handler object for determining which types this affects, * as well as details of how information is embedded. * * @param typer Type information inclusion handler * * */ public ObjectMapper setDefaultTyping(TypeResolverBuilder<?> typer) { _deserializationConfig = _deserializationConfig.withTypeResolverBuilder(typer); _serializationConfig = _serializationConfig.withTypeResolverBuilder(typer); return this; }
/** * Method for enabling automatic inclusion of type information, using * specified handler object for determining which types this affects, * as well as details of how information is embedded. * * @param typer Type information inclusion handler * * */ public ObjectMapper setDefaultTyping(TypeResolverBuilder<?> typer) { _deserializationConfig = _deserializationConfig.withTypeResolverBuilder(typer); _serializationConfig = _serializationConfig.withTypeResolverBuilder(typer); return this; }
/** * @deprecated Since 1.8 should use variant without arguments */ @Deprecated @Override public SerializationConfig createUnshared(TypeResolverBuilder<?> typer, VisibilityChecker<?> vc, SubtypeResolver str) { return createUnshared(str) .withTypeResolverBuilder(typer) .withVisibilityChecker(vc); }