Class StepAnnotationSerializer

java.lang.Object
de.qytera.qtaf.core.gson.serializer.StepAnnotationSerializer
All Implemented Interfaces:
com.google.gson.JsonSerializer<Step>, IQtafJsonSerializer

public class StepAnnotationSerializer extends Object implements IQtafJsonSerializer, com.google.gson.JsonSerializer<Step>
Converts Step annotation to JSON.
  • Constructor Details

    • StepAnnotationSerializer

      public StepAnnotationSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(Step step, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<Step>
    • getSerializedObjectClass

      public Class<Step> getSerializedObjectClass()
      Description copied from interface: IQtafJsonSerializer
      Returns the class of the serialized object.
      Specified by:
      getSerializedObjectClass in interface IQtafJsonSerializer
      Returns:
      the serialized class