hey anyone know how to specify the json key for a ...
# announcements
m
hey anyone know how to specify the json key for a field on an object in serialization? i.e. seriesUUID in the app but the api sends as series_uuid? am i stuck with the object having series_uuid?
m
Are you talking about kotlinx #serialization ?
use
@SerialName
m
ah okay thanks 🙂