Class JsonMixinModuleEntries.Builder

java.lang.Object
org.springframework.boot.jackson.JsonMixinModuleEntries.Builder
Enclosing class:
JsonMixinModuleEntries

public static class JsonMixinModuleEntries.Builder extends Object
  • Method Details

    • and

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

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