Skip to content

Commit 3734219

Browse files
authored
Merge pull request #940 from k163377/fix-for-937
Fix for doc added in #937
2 parents 5286933 + d5abc38 commit 3734219

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/kotlin/com/fasterxml/jackson/module/kotlin/Extensions.kt

+4-4
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 [ObjectMapper.readValue].
160+
* Shorthand for [ObjectReader.readValue].
161161
* @throws RuntimeJsonMappingException 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 = readValue(jp, jacksonTypeRef<T>())
166166
.checkTypeMismatch()
167167
/**
168-
* Shorthand for [ObjectMapper.readValues].
168+
* Shorthand for [ObjectReader.readValues].
169169
* @throws RuntimeJsonMappingException 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)