Retrofit自己有转换器功能,但是要写很多类和json数据格式一一对应,json数据看着还比较清晰,变成类结构之后看着就有点头晕了。那么既然他这么麻烦,相对其他的json解析器(比如org.json)他的优势在哪里呢?
闭关修行中......
It varies from person to person. . . I think it’s more convenient to use entity classes
And you can also get the string directly using ScalarsConverterFactory
It varies from person to person. . . I think it’s more convenient to use entity classes
And you can also get the string directly using ScalarsConverterFactory