Annotation Type JsonPolymorphicTypeMap.TypeDef


  • @Target(FIELD)
    @Retention(RUNTIME)
    public static @interface JsonPolymorphicTypeMap.TypeDef
    Declares a mapping between a key value and a referenced class.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String key
      The string value to represent a specific type.
      java.lang.Class<?> ref
      The Class that is referenced by this key value.
    • Element Detail

      • key

        java.lang.String key
        The string value to represent a specific type.
      • ref

        java.lang.Class<?> ref
        The Class that is referenced by this key value.