public class JsonStringConverter
extends retrofit2.Converter.Factory
JsonStringConverter.DelegateToStringConverter
.Modifier and Type | Class and Description |
---|---|
static class |
JsonStringConverter.DelegateToStringConverter<T>
Converts an object to json.
|
Modifier | Constructor and Description |
---|---|
protected |
JsonStringConverter(retrofit2.Converter.Factory delegate)
Creates a new factory instance.
|
Modifier and Type | Method and Description |
---|---|
static JsonStringConverter |
create(retrofit2.Converter.Factory delegate)
Creates a new factory instance.
|
retrofit2.Converter<?,java.lang.String> |
stringConverter(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations,
retrofit2.Retrofit retrofit) |
protected JsonStringConverter(retrofit2.Converter.Factory delegate)
delegate
- the delegate converter factorypublic retrofit2.Converter<?,java.lang.String> stringConverter(java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, retrofit2.Retrofit retrofit)
stringConverter
in class retrofit2.Converter.Factory
public static JsonStringConverter create(retrofit2.Converter.Factory delegate)
delegate
- the delegate converter factory