public class Retrofit2ConverterFactory
extends Converter.Factory
| Constructor and Description |
|---|
Retrofit2ConverterFactory() |
Retrofit2ConverterFactory(FastJsonConfig fastJsonConfig) |
public Retrofit2ConverterFactory()
public Retrofit2ConverterFactory(FastJsonConfig fastJsonConfig)
public static Retrofit2ConverterFactory create()
public static Retrofit2ConverterFactory create(FastJsonConfig fastJsonConfig)
public <any> responseBodyConverter(Type type, Annotation[] annotations, Retrofit retrofit)
public <any> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit)
public FastJsonConfig getFastJsonConfig()
public Retrofit2ConverterFactory setFastJsonConfig(FastJsonConfig fastJsonConfig)
@Deprecated public ParserConfig getParserConfig()
FastJsonConfig.getParserConfig()@Deprecated public Retrofit2ConverterFactory setParserConfig(ParserConfig config)
config - the configFastJsonConfig.setParserConfig(ParserConfig)@Deprecated public int getParserFeatureValues()
JSON.DEFAULT_PARSER_FEATURE@Deprecated public Retrofit2ConverterFactory setParserFeatureValues(int featureValues)
featureValues - the feature valuesJSON.DEFAULT_PARSER_FEATURE@Deprecated public Feature[] getParserFeatures()
FastJsonConfig.getFeatures()@Deprecated public Retrofit2ConverterFactory setParserFeatures(Feature[] features)
features - the featuresFastJsonConfig.setFeatures(Feature...)@Deprecated public SerializeConfig getSerializeConfig()
FastJsonConfig.getSerializeConfig()@Deprecated public Retrofit2ConverterFactory setSerializeConfig(SerializeConfig serializeConfig)
serializeConfig - the serialize configFastJsonConfig.setSerializeConfig(SerializeConfig)@Deprecated public SerializerFeature[] getSerializerFeatures()
FastJsonConfig.getSerializerFeatures()@Deprecated public Retrofit2ConverterFactory setSerializerFeatures(SerializerFeature[] features)
features - the featuresFastJsonConfig.setSerializerFeatures(SerializerFeature...)Copyright © 2023. All rights reserved.