Skip to content

Commit c69f42c

Browse files
committed
Merge remote-tracking branch 'FasterXML/2.19' into 3.x
2 parents 90e2db7 + 3734219 commit c69f42c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/kotlin/tools/jackson/module/kotlin/Extensions.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,18 @@ inline fun <reified T> ObjectMapper.convertValue(from: Any?): T = convertValue(f
157157
.checkTypeMismatch()
158158

159159
/**
160-
* Shorthand for [ObjectReader.forType].
160+
* Shorthand for [ObjectReader.readValue].
161161
* @throws DatabindException Especially if [T] is non-null and the value read is null.
162162
* Other cases where the read value is of a different type than [T]
163-
* due to an incorrect customization to [ObjectMapper].
163+
* due to an incorrect customization to [ObjectReader].
164164
*/
165165
inline fun <reified T> ObjectReader.readValueTyped(jp: JsonParser): T = forType(jacksonTypeRef<T>()).readValue<T>(jp)
166166
.checkTypeMismatch()
167167
/**
168168
* Shorthand for [ObjectReader.readValues].
169169
* @throws DatabindException Especially if [T] is non-null and the value read is null.
170170
* Other cases where the read value is of a different type than [T]
171-
* due to an incorrect customization to [ObjectMapper].
171+
* due to an incorrect customization to [ObjectReader].
172172
*/
173173
inline fun <reified T> ObjectReader.readValuesTyped(jp: JsonParser): Iterator<T> {
174174
val values = readValues(jp, jacksonTypeRef<T>())

0 commit comments

Comments
 (0)