I'm a newie using Retrofit, and I was seraching for a automatic way to generate the class types for consume a rest web service with retrifit becouse as far as I've seen I'm suposed map all the objects that returns the server.
Specifically I want to work with a Endpoint Django REST framework 2.3.14 with a lot of elements by each method, Thats why I want to generate in an automatic way the element types.
I've seen some with JAX-RS but I'm not sure it works with django Rest Services.
Any help would be very appreciated. Thanks
使用此[网站] http://www.jsonschema2pojo.org ,对于将JSON转换为POJO非常有用...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.