README: fix typo

This commit is contained in:
Matthew Haughton
2018-05-15 16:52:11 +10:00
committed by GitHub
parent a8616ff10d
commit 373209640d

View File

@@ -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 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 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 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 for better performance and to avoid the `kotlin-reflect` dependency; prefer reflection to convert