Annotation Type Serializer


  • @Retention(RUNTIME)
    @Target({TYPE,TYPE_USE})
    public @interface Serializer
    Class level annotation that defines the serializer that should be used to convert objects to and from the wire format. This should annotate a class that implements the Serializer interface
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Serializer.TARGET target  
    • Element Detail

      • target

        Serializer.TARGET target
        Returns:
        Target of the serializer
        Default:
        org.hyperledger.fabric.contract.annotation.Serializer.TARGET.ALL