You could traverse recursively a map that is retur...
# squarelibraries
m
You could traverse recursively a map that is returned by
readFromJson()
, check for doubles and convert them to strings in a long format but you can lose information this way on some of the actual doubles and generally seems like a bad idea. Using a separate adapter for this type of conversion seems correct. That’s basically main purpose of custom annotations in Moshi