Annotation Interface CustomSerializerFor


@Retention(RUNTIME) @Target(TYPE) public @interface CustomSerializerFor
Marks a class as a custom serializer for the specified target type. The annotated class must implement CustomSerializer or contain a static method with the signature:
public static DataTree serialize(TargetType value, SerializationContext context)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details