Is there a standard moshi annotation to handle fie...
# squarelibraries
t
Is there a standard moshi annotation to handle field alias name? Like I talk to many servers, most return their version in a version field but one in xxxVersion field. Currently using another optional field and deal with the case later. But wonder if there's a more moshi native approach.
j
Nope! What you’re doing is right
It’s more syntax but also zero magic
t
Ok thanks.