类 JsonMixinModuleEntries.Builder

java.lang.Object
org.springframework.boot.jackson.JsonMixinModuleEntries.Builder
封闭类:
JsonMixinModuleEntries

public static class JsonMixinModuleEntries.Builder extends Object
  • 方法详细资料

    • and

      public JsonMixinModuleEntries.Builder and(String typeClassName, String mixinClassName)
      Add a mapping for the specified class names.
      参数:
      typeClassName - the type class name
      mixinClassName - the mixin class name
      返回:
      this, to facilitate method chaining
    • and

      public JsonMixinModuleEntries.Builder and(Class<?> type, Class<?> mixinClass)
      Add a mapping for the specified classes.
      参数:
      type - the type class
      mixinClass - the mixin class
      返回:
      this, to facilitate method chaining