Package 

Class JsonConverterFactory


  • 
    public final class JsonConverterFactory
    extends Converter.Factory
                        

    네트워크 통신 과정에서의 데이터를 json 기반으로 변환하는 클래스

    • Method Summary

      Modifier and Type Method Description
      Converter<ResponseBody, ?> responseBodyConverter(Type type, Array<out Annotation> annotations, Retrofit retrofit)
      Converter<?, RequestBody> requestBodyConverter(Type type, Array<out Annotation> parameterAnnotations, Array<out Annotation> methodAnnotations, Retrofit retrofit)
      • Methods inherited from class io.lemoncloud.core.architecture.network.JsonConverterFactory

        stringConverter
      • Methods inherited from class java.lang.Object

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

      • JsonConverterFactory

        JsonConverterFactory(Json json)
        Parameters:
        json - 인코딩 및 디코딩을 통해 json 직렬화를 도와줍니다.