Fix KotlinJsonAdapterFactory ref in error message (#1217)

This commit is contained in:
Zac Sweers
2020-09-10 15:53:42 -04:00
committed by GitHub
parent 5284851b08
commit 56af4c3f89

View File

@@ -96,7 +96,7 @@ final class ClassJsonAdapter<T> extends JsonAdapter<T> {
"Cannot serialize Kotlin type " "Cannot serialize Kotlin type "
+ rawType.getName() + rawType.getName()
+ ". Reflective serialization of Kotlin classes without using kotlin-reflect has " + ". Reflective serialization of Kotlin classes without using kotlin-reflect has "
+ "undefined and unexpected behavior. Please use KotlinJsonAdapter from the " + "undefined and unexpected behavior. Please use KotlinJsonAdapterFactory from the "
+ "moshi-kotlin artifact or use code gen from the moshi-kotlin-codegen artifact."); + "moshi-kotlin artifact or use code gen from the moshi-kotlin-codegen artifact.");
} }