Open luongvo opened 1 month ago
Have you worked or applied any JSON:API parsing on Android before? What's your way to improve this?
@luongvo I have never used that specification before (in fact this is the first time I have heard of it). I have just serialized the json data. Which is the most common way I have done this using rest API.
Our API is designed with JSON:API specification. That's why we have the
data
andattributes
nodes from all responses. https://github.com/steve1rm/BusbyNimbleSurvey/blob/master/data/src/main/java/me/androidbox/data/authorization/DataDto.kt https://github.com/steve1rm/BusbyNimbleSurvey/blob/master/data/src/main/java/me/androidbox/data/authorization/AttributesDto.kthttps://github.com/steve1rm/BusbyNimbleSurvey/blob/master/data/src/main/java/me/androidbox/data/survey/DataDto.kt https://github.com/steve1rm/BusbyNimbleSurvey/blob/master/data/src/main/java/me/androidbox/data/survey/AttributesDto.kt
Have you worked or applied any JSON:API parsing on Android before? What's your way to improve this?