mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 07:59:21 +08:00
Fix KotlinJsonAdapterFactory ref in error message (#1217)
This commit is contained in:
@@ -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.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user