From 373209640d2f30b9129cf655a085557cf06ff052 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Tue, 15 May 2018 16:52:11 +1000 Subject: [PATCH] README: fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 876507d..8157aa6 100644 --- a/README.md +++ b/README.md @@ -548,7 +548,7 @@ annotationProcessor 'com.squareup.moshi:moshi-kotlin-codegen:1.6.0' If your Kotlin class has a superclass, it must also be a Kotlin class. Neither reflection or codegen support Kotlin types with Java supertypes or Java types with Kotlin supertypes. If you need to -convert such classes to JSON you must create a custom type adatper. +convert such classes to JSON you must create a custom type adapter. The JSON encoding of Kotlin types is the same whether using reflection or codegen. Prefer codegen for better performance and to avoid the `kotlin-reflect` dependency; prefer reflection to convert