diff --git a/Networking and Data Storage with Kotlin Multiplatfrom Mobile/06_Implementing_an_API_service.md b/Networking and Data Storage with Kotlin Multiplatfrom Mobile/06_Implementing_an_API_service.md index d717873..94c5e28 100644 --- a/Networking and Data Storage with Kotlin Multiplatfrom Mobile/06_Implementing_an_API_service.md +++ b/Networking and Data Storage with Kotlin Multiplatfrom Mobile/06_Implementing_an_API_service.md @@ -17,7 +17,10 @@ import kotlinx.serialization.json.Json class SpaceXApi { private val httpClient = HttpClient { install(JsonFeature) { - val json = Json { ignoreUnknownKeys = true } + val json = Json { + ignoreUnknownKeys = true + useAlternativeNames = false + } serializer = KotlinxSerializer(json) } }