diff --git a/src/main/kotlin/com/fasterxml/jackson/module/kotlin/Extensions.kt b/src/main/kotlin/com/fasterxml/jackson/module/kotlin/Extensions.kt index 522694331..e379560ce 100644 --- a/src/main/kotlin/com/fasterxml/jackson/module/kotlin/Extensions.kt +++ b/src/main/kotlin/com/fasterxml/jackson/module/kotlin/Extensions.kt @@ -157,18 +157,18 @@ inline fun ObjectMapper.convertValue(from: Any?): T = convertValue(f .checkTypeMismatch() /** - * Shorthand for [ObjectMapper.readValue]. + * Shorthand for [ObjectReader.readValue]. * @throws RuntimeJsonMappingException Especially if [T] is non-null and the value read is null. * Other cases where the read value is of a different type than [T] - * due to an incorrect customization to [ObjectMapper]. + * due to an incorrect customization to [ObjectReader]. */ inline fun ObjectReader.readValueTyped(jp: JsonParser): T = readValue(jp, jacksonTypeRef()) .checkTypeMismatch() /** - * Shorthand for [ObjectMapper.readValues]. + * Shorthand for [ObjectReader.readValues]. * @throws RuntimeJsonMappingException Especially if [T] is non-null and the value read is null. * Other cases where the read value is of a different type than [T] - * due to an incorrect customization to [ObjectMapper]. + * due to an incorrect customization to [ObjectReader]. */ inline fun ObjectReader.readValuesTyped(jp: JsonParser): Iterator { val values = readValues(jp, jacksonTypeRef())