Class GsonConverter

  • All Implemented Interfaces:
    Converter<Pair<java.lang.Class<?>,​java.lang.Object>,​java.lang.Object>

    public class GsonConverter
    extends java.lang.Object
    implements Converter<Pair<java.lang.Class<?>,​java.lang.Object>,​java.lang.Object>
    A Gson converter for Service Parameter
    Since:
    8.0.0
    Author:
    jumperchen
    • Constructor Summary

      Constructors 
      Constructor Description
      GsonConverter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(Pair<java.lang.Class<?>,​java.lang.Object> pair)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GsonConverter

        public GsonConverter()
    • Method Detail

      • convert

        public java.lang.Object convert​(Pair<java.lang.Class<?>,​java.lang.Object> pair)
        Specified by:
        convert in interface Converter<Pair<java.lang.Class<?>,​java.lang.Object>,​java.lang.Object>